Which are the differences/similarities between hibernate and other frameworks or specifications?

后端 未结 4 1865
情书的邮戳
情书的邮戳 2021-01-03 16:59

I want to know the differences/similarities between Hibernate and simple persistence in Java EE 5?

I\'m not clear if Hibernate implements Java EE 5 persistence imple

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-03 17:42

    The JPA specification described in EE5 is just an specification. This means that it is not a product. JPA is just a set of definitions that the different providers have to accomplish to be "JPA complaint"

    Hibernate is just another "plugable" persistence provider, this means that this product implements the definitions given by JPA specification. You can find other similar products like TopLink or Apache's OpenJPA.

    That is it.

提交回复
热议问题