IntelliJ IDEA. Working with Hibernate/JPA

  Рет қаралды 131,767

IntelliJ IDEA, a JetBrains IDE

IntelliJ IDEA, a JetBrains IDE

Күн бұрын

In this video, we'll explore a few Hibernate and JPA features in IntelliJ IDEA Ultimate.
00:00​ - Intro
00:27 - Creating a Hibernate/JPA Project
01:37​ - Creating a Data Source
02:54​ - Generating Entities from Database Schema
05:15​ - Working with Entities
07:04​ - Entity-Relationship Diagram
07:34 - persistence.xml
08:30​ - Persisting an Entity
10:43 - Executing Queries in JPA Console
12:41 - Executing a NamedQuery
14:58​ - Executing a SQL Query
*Author: Dalia Abo Sheasha
GitHub Repository: github.com/dal...
Creating a Simple Jakarta Persistence/JPA Application: • Creating a Simple Jaka...
Using Live Templates: jb.gg/using-li...
Visit this web page for a more detailed list of the features for working with Jakarta EE:
jb.gg/jakarta-ee
Download IntelliJ IDEA: jb.gg/download...
Top 15 IntelliJ IDEA shortcuts: • Top 15 IntelliJ IDEA s... ​
Join us:
Website jb.gg/website​
Blog jb.gg/blog​
Twitter / intellijidea​
Facebook / ​
#intelliJIDEAUltimate #intelliJ #hibernate #jpa #java #persistence #javaEE #enterprise #generate #entity #database #mysql #sql #jpql #hql
#intelliJIDEA​ ​ #programming​

Пікірлер: 65
@Ben-pb7ct
@Ben-pb7ct 3 жыл бұрын
I am the newbie to Hibernate / JPA things, and I surprisingly find that IntelliJ EE version saves tons of work for me so I could focus more on Java code
@xymorron
@xymorron 3 жыл бұрын
Oh Dalia, that was really super-super helpful. And quite simply thanks to you!
@PlayGameToday
@PlayGameToday 2 жыл бұрын
не подлизывайся
@abhisheksengupta4159
@abhisheksengupta4159 3 жыл бұрын
Super Helpful. Thanks for these short and rich videos
@intellijidea
@intellijidea 3 жыл бұрын
Glad you like them!
@omarvillada2920
@omarvillada2920 3 жыл бұрын
I am impressed with all the code and time that IntelliJ saves. It's incredible, luckily I found this video tutorial, greetings from Colombia, thank you very much. I will make the most of my 30-day trial (I'm going to talk to my boss so that he can pay me the Ultimate version)
@aswarthanarayanareddyb176
@aswarthanarayanareddyb176 4 жыл бұрын
Thanks for the video. Really helpful
@intellijidea
@intellijidea 4 жыл бұрын
Glad it was helpful!
@BayoAdegbola11
@BayoAdegbola11 2 жыл бұрын
Nice Tutorial. Very detailed. Thank you
@RajeshSamson
@RajeshSamson 4 жыл бұрын
Most useful & helpful video 👍👍👍
@intellijidea
@intellijidea 4 жыл бұрын
Thanks a lot
@truongquangchu9027
@truongquangchu9027 3 жыл бұрын
Great video ! Thank you so much
@pockpicket9360
@pockpicket9360 4 жыл бұрын
Great video, thank you
@intellijidea
@intellijidea 4 жыл бұрын
Glad you liked it!
@aturan-fo1qt
@aturan-fo1qt 4 жыл бұрын
Dalia is the best. By the way, employee table consists only of Java rockstars :)
@intellijidea
@intellijidea 4 жыл бұрын
Yes, exactly ;)
@louiedustin2256
@louiedustin2256 3 жыл бұрын
You probably dont care but if you're bored like me during the covid times then you can watch pretty much all the latest movies on InstaFlixxer. Have been watching with my gf for the last few weeks =)
@asherwilliam5389
@asherwilliam5389 3 жыл бұрын
@Louie Dustin Yup, I have been watching on instaflixxer for since november myself =)
@kyotin1
@kyotin1 3 жыл бұрын
awesome IntelliJ IDEA!
@intellijidea
@intellijidea 3 жыл бұрын
Thanks!
@michaeljohnbaco2480
@michaeljohnbaco2480 3 жыл бұрын
OMG THANK YOU!
@mostafahussien1239
@mostafahussien1239 3 жыл бұрын
so beautiful thank
@romanchumak1586
@romanchumak1586 2 жыл бұрын
Thank you
@jordyeusebioquispecupe8990
@jordyeusebioquispecupe8990 Жыл бұрын
@ProgrammingEducation
@ProgrammingEducation 3 жыл бұрын
Thanks
@ssosso793
@ssosso793 4 жыл бұрын
Thank you so much
@intellijidea
@intellijidea 4 жыл бұрын
You're most welcome!
@Rizzgurl12344
@Rizzgurl12344 2 жыл бұрын
@8:50 nothing shows up on the most current version of intelliJ, not sure of the next steps to take...
@truongluanloc7736
@truongluanloc7736 3 ай бұрын
me too
@moradkutt5940
@moradkutt5940 11 ай бұрын
يعطيكي العافيه
@SATCOMGoose
@SATCOMGoose 3 ай бұрын
So you selected jdk 11 for the project but are targeting jdk 1.8 in the pom.xml?
@pranavbhawalkar5517
@pranavbhawalkar5517 Жыл бұрын
can we use hibernate with IntelliJ community edition
@docusmonde7142
@docusmonde7142 9 ай бұрын
Its not working generate persistance mapping not showing
@davidkerr7
@davidkerr7 3 жыл бұрын
doest this work on community edition
@Kimarnic
@Kimarnic 3 жыл бұрын
I don't wanna go back to Eclipse just to work with Hibernate :(((((((((( But it's not in the Community version, sucks
@rauliciii
@rauliciii 3 жыл бұрын
(9:48) I get the following: IllegalStateException: Cannot get a connection as the driver manager is not properly initialize Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
@Rizzgurl12344
@Rizzgurl12344 2 жыл бұрын
@8:09 this can be skipped with the newest version as of this post.
@aswarthanarayanareddyb176
@aswarthanarayanareddyb176 4 жыл бұрын
How to open Jpa query console in spring boot application. Thanks in advance.
@aswarthanarayanareddyb176
@aswarthanarayanareddyb176 4 жыл бұрын
@Dalia Abo Sheasha thank you so much.
@elijahgavrilov1686
@elijahgavrilov1686 2 жыл бұрын
Can we go with smth different than persistence.xml?
@beatngu1101
@beatngu1101 3 жыл бұрын
Great video, thanks a lot! Just one question: at 0:35 you select AdoptOpenJDK 11 as the project SDK, but the generated POM at 1:04 sets 1.8 as the compiler source and target. Shouldn't IntelliJ's generator inherit the corresponding version?
@henybenayed3548
@henybenayed3548 4 жыл бұрын
I need help. When I click OK (4:58) I get this error "Unable to resolve 'String'". Any Ideas how to fix this problem ? Thanks.
@henybenayed3548
@henybenayed3548 4 жыл бұрын
@Dalia Abo Sheasha Yeah it was a problem with the JDK. I have one installed and even though it works perfectly with normal java projects, for some reasons it stops working when I switch to Java Enterprise projects. Turned out all I needed to do was to reinstall it again. Now everything works perfectly. Thank you for taking the time to respond.
@thegeeko61
@thegeeko61 Жыл бұрын
How can i create the database for using with this video?
@mohangabhale5555
@mohangabhale5555 2 жыл бұрын
I am using Linux Ubuntu os, i want hibarnate external jar files for eclipse please help me where can I get Hibernate external jar files
@נווהידעי
@נווהידעי 2 жыл бұрын
in 8:51 how you make a short to jpa?
@ragjnmusic8765
@ragjnmusic8765 Жыл бұрын
Is this a hibernate tutorial or JPA tutorial?
@aleksanderdorkov5312
@aleksanderdorkov5312 3 жыл бұрын
Didn't knew you can test JPA Queries directly. Only tested SQL queries then converted them to JPA ones manually, lol.
@hasanmhdamin6076
@hasanmhdamin6076 2 жыл бұрын
Is there a way to generate Kotlin data classes instead of java classes?
@anthonysteinerv
@anthonysteinerv 2 жыл бұрын
it would have been nice if showed the DB creation script
@pedropreto1845
@pedropreto1845 3 жыл бұрын
Do you how to disable the red messages at console?
@KevinSheppard
@KevinSheppard 4 жыл бұрын
Can you do Ebean next?
@stefanholtker3944
@stefanholtker3944 3 жыл бұрын
Any solutions for hql console with quarkus projects ?
@noirRozelle
@noirRozelle 3 жыл бұрын
I can't Java Enterprise in my IDEA
@Bubumuk
@Bubumuk 3 жыл бұрын
For JavaEE projects you need IntelliJ Ultimate edition
@devon6039
@devon6039 2 жыл бұрын
For any one using JAVA 8, please spare yourself a great deal of trouble and change the JAVA version at the start of the project lol...
@luffyoneworld4156
@luffyoneworld4156 3 жыл бұрын
shit you are not using community verison:)
@VersecLoL
@VersecLoL 2 жыл бұрын
What's the use of this tutorial if most of the features are not part of the Community Edition? What a waste of time.
@ragjnmusic8765
@ragjnmusic8765 Жыл бұрын
yeah this is for the ultimate version
@ytravi
@ytravi Жыл бұрын
this is not working, I am getting the error - org.hibernate.PersistentObjectException: detached entity passed to persist
@alexjosesilvati
@alexjosesilvati 3 жыл бұрын
fix connection error insert: useTimezone = true & serverTimezone = UTC in
@J4cK2999
@J4cK2999 3 жыл бұрын
Great video ! Thanks
Tomcat in IntelliJ IDEA Ultimate
14:03
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 119 М.
Hibernate & JPA Tutorial - Crash Course
24:27
Marco Codes
Рет қаралды 125 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
IntelliJ IDEA. Getting Started with Spring Data JPA
22:22
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 42 М.
Creating a Simple Jakarta Persistence/JPA Application in IntelliJ IDEA Ultimate
16:21
IntelliJ IDEA, a JetBrains IDE
Рет қаралды 32 М.
Java Database Connectivity | JDBC
20:34
Telusko
Рет қаралды 391 М.
Request API data using Python in 8 minutes! ↩️
8:34
Bro Code
Рет қаралды 50 М.
Java JPA Maven Hibernate Tutorial
29:21
Derek Banas
Рет қаралды 115 М.
Spring ORM using Hibernate
31:06
Telusko
Рет қаралды 12 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,7 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН