This content has been marked as final.
Show 2 replies
-
1. Re: EJBQL List pages partial list
francof Jan 8, 2009 6:59 PM (in response to freakwave10)Wolfgang,
I am not the most experienced guy here, so pardon me if I have steered your wrong.
I have not tried this but I believe you can create a custom bean for only your specific resultlist and map it.
See page 2 Result Classes of this guide
http://www.solarmetric.com/resources/ejbql-quickref.pdf
Let me know if it works.
Franco
-
2. Re: EJBQL List pages partial list
swd847 Jan 11, 2009 11:40 PM (in response to freakwave10)Some persistence providers provide extensions that allow for lazy property fetching. If you are using hibernate have a look in the hibernate annotations docs to find the annotation to use (I can't remember off the top off my head). If you do use lazy property fetching I think you have to instrument your code at build time, otherwise it is silently ignored.