Johannes Hiemer wrote:
Hi Werner,
i followed your advise and added the sessionFilter in my web.xml file. And it doesn't 
work either. I made a test and switched back to a more uncomplicated query namely this 
one: return getHibernateTemplate().find("from Request"); and as expected it 
works wonderfull.
So that means, the lazy loading issue is falling out of the row of potential 
canidates for the origin of this problem, or?

In this case yes, no lazy loading problem...

then you might have some kind of object resolving problem on your hand
maybe some kind of mapping error...
Try to get the object instances outside of JSF and check which types come back, you might get a generic object or an exception somewhere where you expect something else..


My best guess is to check the part of your mapping which breaks and then
consult the Hibernate guys about this (dont even bother with the german
Forum on the Hibernate site, you have a good chance of being insulted there or getting a RTFM answer, no matter which problem you have, go straight for the english speaking one, where the answers usually are good and precise)

Reply via email to