This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
openjpa [2015/05/13 13:45] mihael created |
openjpa [2015/05/13 13:48] mihael |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== OpenJPA ====== | ====== OpenJPA ====== | ||
OpenJPA is a JPA implementation hosted by Apache. | OpenJPA is a JPA implementation hosted by Apache. | ||
+ | |||
+ | ===== Default Fetch Type ===== | ||
+ | OpenJPA seems to have FetchType.LAZY as a default. Other JPA implementations have other defaults, f. e. EclipseLink. Keep in mind to explicitly set the fetch type for relations if you want them loaded immediately. | ||
===== Remove Embedded Entity ===== | ===== Remove Embedded Entity ===== | ||
Line 37: | Line 40: | ||
===== Links ===== | ===== Links ===== | ||
* [[http://openjpa.apache.org|Apache OpenJPA]] | * [[http://openjpa.apache.org|Apache OpenJPA]] | ||
+ | |||
+ | {{tag>java}} |