This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openjpa [2015/05/13 13:46] mihael |
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 (''FetchType.EAGER'')for relations if you want them loaded immediately. | ||
===== Remove Embedded Entity ===== | ===== Remove Embedded Entity ===== |