2008/6/27 Milan Milanovic <[EMAIL PROTECTED]>: > > Hi Lukasz, > > great, thanks! > > Yes, I put this new mapping to my web.xml and now my application works. But > again when I retrieve > person from database with: person = service.find(...); and call > person.getJobs() I again get: > > > org.hibernate.LazyInitializationException: could not initialize proxy - no
That's strange, did you exactly follow configuration instructions in that example? Could you paste your config files? And also how did you configure person and job entity? Regards -- Lukasz http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]