--- On Fri, 6/27/08, Milan Milanovic <[EMAIL PROTECTED]> wrote:
> I now that Hibernate session is closed, I've tried with
> Hibernate.initialize(person.getJobs()), but it is the same!

... wouldn't the session still be closed?

http://www.hibernate.org/hib_docs/v3/api/org/hibernate/Hibernate.html#initialize(java.lang.Object)

It says right there that one way for this method to fail is if the session is 
closed. If you didn't open a session I'm not sure what you were expecting.

> Please, help because I think this is MAJOR problem with every 
> Struts + Spring + Hibernate application.

As such, you'll want to look at the *Hibernate* docs.

Dave


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

Reply via email to