Em Thu, 05 Feb 2009 15:59:53 -0300, James Sherwood <jsherw...@rgisolutions.com> escreveu:

Thanks,

I do not want to have to change the actual POJOs as I generate them using
reverse eng so I think I will just do the lookup.\

One solution is to call session.lock(object, LockMode.NONE) before reading any property values. It associates the object with the given session, thus avoiding the LazyInstantiationException's. ;)

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to