Difference between JPA, EclipseLink & Hibernate

Поделиться
HTML-код
  • Опубликовано: 7 мар 2018
  • Today, I will talk about the differences between JPA, Hibernate and EclipseLink.
    When people are new to JPA, Hibernate or EclipseLink, they are often confused about the difference between them and which one they should use in their project. If you’re one of them, don’t worry. It’s a lot easier than it seems.
    If you are finding me for the first time, please subscribe to this channel. I’m publishing new videos about JPA and Hibernate twice a week.
    If you like this video, please give me your thumbs up and share it with your friends and co-workers.
    Like my channel? Subscribe!
    ➜ bit.ly/2cUsid8
    ➜Join the free Member Library:
    goo.gl/dtyIIC
    ➜ Read the accompanying post: www.thoughts-on-java.org/diff...
    ➜ Download JPA at jcp.org/en/jsr/detail?id=338.
    ➜ Getting Started With Hibernate www.thoughts-on-java.org/hibe...
    ➜ JPQL Guide -www.thoughts-on-java.org/jpql/
    ➜ Handling of database change events- www.eclipse.org/eclipselink/d...
    ➜ Composite persistence units to map entities to tables in multiple databases- www.eclipse.org/eclipselink/d...
    ➜ Support for multi-tenancy-www.eclipse.org/eclipselink/d...
    Want to connect with me?
    Blog: www.thoughts-on-java.org/
    Twitter: / thjanssen123
    Facebook: / thoughtsonjava
  • НаукаНаука

Комментарии • 20

  • @ruixue6955
    @ruixue6955 5 лет назад +9

    0:43 JPA
    1:34 javax.persistence-api cannot be used without an implementation
    1:44 the most popular JPA implementations: Hibernate and EclipseLink
    2:29 Before using JPA
    2:30 add JPA to project
    2:34 configure persistence unit
    2:36 map entities to your database tables
    2:38 bootstrap
    3:56 JPQL

  • @sahithichowdary367
    @sahithichowdary367 6 лет назад +6

    Finally!! found a video with a clear and good description. Thanks

  • @rickylee5356
    @rickylee5356 6 лет назад +3

    Nice and comprehensive description

  • @the_son_of_moms_friend
    @the_son_of_moms_friend 3 года назад

    Thank you, sir!

  • @tufisii2006
    @tufisii2006 6 лет назад +1

    Thank you and good job sir ^^ !

  • @B-Billy
    @B-Billy 6 лет назад +1

    Thanks for the Great Video

  • @beatlelow4814
    @beatlelow4814 6 лет назад +1

    Excellent!

  • @krishnapriyankatirunagari7397
    @krishnapriyankatirunagari7397 5 лет назад

    Sir,when i run my web project it is showing that no persistence provider exception.But i have put my persistence.xml file in meta-inf folder in src only..what should i do?

  • @enochassouroko2305
    @enochassouroko2305 4 года назад

    Very useful.

  • @GiovanniFilanninoredjin94
    @GiovanniFilanninoredjin94 6 лет назад

    Hi, i have a question not properly realated to the content of the video, but to a piece of code i saw. Why does a select query needs to be executed in a transaction? Transactions are not needed just for insert, update and delete? Thanks in advance and nice video

    • @keithgray7361
      @keithgray7361 6 лет назад

      Transactions allow you to lock, commit or roll back... it is often an option/choice/configuration for commit. It is good practice to deal with contention issues...

  • @martijnhiemstra
    @martijnhiemstra 5 лет назад +1

    Can somebody explain to me why anybody would want to use EclipseLink? I work with Spring Data/JPA and by the looks of it, it is a lot easier than EclipseLink mostly because Spring Data automatically creates a lot of the mostly used queries like findById and findAll and findAll with pagination.

    • @ThoughtsOnJava
      @ThoughtsOnJava  5 лет назад +2

      Spring Data JPA either uses Hibernate or EclipseLink.

  • @nicholas1460
    @nicholas1460 6 лет назад +1

    I wouldn't EclipseLink for much of anything. Too many bugs and not fully implemented.

    • @ThoughtsOnJava
      @ThoughtsOnJava  6 лет назад +1

      Well, EclipseLink isn't my preferred JPA implementation but I know a bunch of customers who are pretty happy with it