Java – hibernate or JPA?
•
Java
When using spring 3.0, hibernate or JPA is recommended What are their advantages and disadvantages when used with spring 3.0?
Note: we also assume that it is used with spring data access
Solution
My preference is JPA with eclipse link reason:
>JPA is standard, hibernate does not use eclipse link, because JPA with hibernate has some strange implementations EclipseLink is also the reference implementation for JPA 2.0
Bozho: there are some I found. Unfortunately, it's not so obvious because it only happens in some extreme cases Some things I can think of:
>Convert JQL to criteriabuilder > elementcollection can use jointable normally, which is wrong! Elementcollection should be accompanied by collectiontable
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码