Sleep or JPA?

With Spring 3.0, it is recommended to use hibernation or JPA. What are the advantages and disadvantages of both of them when used with Spring 3.0?

Note. We also plan to use it with Spring data access.

+3
source share
4 answers

I prefer JPA with EclipseLink. Causes:

: , , , , . , :

+9

, JPA ​​Hibernate. ?

  • JPA , -
  • Hibernate ORM
  • ,
  • SO

, Hibernate. , Hibernate, , . , , , Spring . , , . Hibernate. Hibernate , , .

+10

, Java Persistence API, Hibernate .

JPA .

JPA , , API, Hibernate JPA. API- Hibernate, , JPA, , .

+5

.

, , JPA (2.0)

, , JPA (2.0). () , JPA-Provider, , JPA. - , , !

, JPA - API, . - Hibernate JPA, , ( ), , Hibernate-Search Envers.

0

Source: https://habr.com/ru/post/1777615/


All Articles