0 Replies Latest reply on Mar 11, 2006 10:18 PM by Avinash Ramana

    Session with Hibernate :: Owning Session was closed.

    Avinash Ramana Newbie

      I've got Hibernate finally working, and I have a class that is a many-to-one. Lazy-loading is on..

      I have a servlet that is using the object, and I've closed the session BEFORE the view is rendered. What is the proper way to deal with when to close the session..

      I've heard of using something called JTA, but I'm not exactly sure if it's what I need..

      -Avinash