This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
openjpa [2015/05/13 13:48] mihael |
openjpa [2015/05/13 13:48] mihael |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Default Fetch Type ===== | ===== 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. | + | 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 ===== |