PDA

View Full Version : Lazy loading & Web services: Can be made?



agharta
Jan 27th, 2006, 12:53 PM
Hi all,
Anyone known the way to use lazy loading feature in or-mappers (like Hibernate or iBatis) with web services?


Please, reply!!!



Thanks,

Agharta

jbalint
Feb 3rd, 2006, 10:17 PM
What is stopping you from doing it? Are you using the Open Session in View filter? There is nothing that is different in web services than web apps to do this. You need the session to stay open after the dao call and the filter is the way to do it.