Hibernate by toto měl umět, viz.
http://docs.jboss.org/hibernate/stable/core/reference/en/html/performance.html#performance-fetching-lazyproperties
Osobně jsem to ale nikdy nezkoušel.
jan_bar wrote:
Ahoj,
FetchType.LAZY je pouze hint, nikoliv nutnost. Zdá se mi, ¾e na nerelaèním
typu property (nikoliv field) jako je String, byte[] atp. to nikdy není
pou¾ito. Zkou¹el jsem na JBoss 4.2.3, EJB3 (HIbernate 3 implementace). Znáte
nìjaké JPA providery, kde to funguje? (Blob nechme stranou, tam FetchType
nemá význam).
Díky, Honza