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