sonofseven wrote:
Hi there,
Does anyone know how can I use Hibernate with RCP applications using the lazy load. This is because I do not want to load the whole DB into my app. I have seen models to use it with Web applications but nothing on RCP.
Just to clear up; I am writing Eclipse RCP app and have Hibernate working, but I had to set the lazy load to false, because I was getting an error of session being close etc. After setting lazy load to false it works but the app is loading all object from DB, and that is something I want to avoid.
One idea would be to open a session and keep it open till the application closes. Although I have not try it yet!
Hope one of you can help me,
thanks
rp
http://www.hibernate.org/333.html