Hi,

I have a Problem with lazy loading. In my App I query a Database using
Hibernate. The workflow is the following:

Searchpage           ->  Resultspage     ->  Detailspage
------------------------------------------------------------------------
search by keyword ->  Results in Grid ->  Details of picked result

The queried Objects contain a collection that should be presented on the
Detailspage and loaded there lazily. When a hit in the result grid is
clicked, I pass the Id of the entry using the page activation context to
Detailspage (I want the Details to be bookmarkable). But when accessing the
collection on the Detailspage, the  LazyInitializationException is thrown.
For Database-access I use an injected service interface.

I believe this is not an unusual scenario so I hope anyone here can give me
a hint on how to solve this problem. 

Thanks, Moritz
-- 
View this message in context: 
http://n2.nabble.com/LazyInitializationException-tp783491p783491.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to