I am running APPFUSE 1.94 w/ Struts and Hibernate. When I run test-web
for testcases that use objects that have lazy-loaded relationships, I am
getting lazy-loading exceptions. I believe this is a known issue. I
found the JIRA once before, but can't seem to located it now. Anyway, if
I recall correctly this was deferred to 2.0 since it wasn't a straight
forward fix in the grand scheme of all of appfuse's supported
persistence layers. I don't really need support for all persistence
layers, so I was hoping to put the hibernate fix into my local instance.
Can somebody give me some direction on what I need to change to make the
lazy-loading work? I figure I need something equivalent to the
OpenSessionInViewFilter, but I'm not really sure how to wire that up.

 

Thanks,

-- Corey

Reply via email to