micks128
Apr 20th, 2005, 03:29 AM
I have just converted a project to use Spring 1.2 RC2 and hibernate 3.
Everything was working fine until I got this bug. The fact that it occurs only in this situation and only occured after changing versions makes me wonder if the spring release candidate has a fault.
I am using the openSessionInView filter to keep a hibernate session open in the presentation layer.
What I have is a JSF data table acessing a backing bean. The backing bean generates a list of objects retrieved from the database. JSF then goes through this list of objects and tries to render each one as a row. The problem is when the object tries to access a persistant collection it fails because of no session. With an older version of spring and hibernate 2.1 this worked.
Can you tell me what may have changed?
Thanks :)
Everything was working fine until I got this bug. The fact that it occurs only in this situation and only occured after changing versions makes me wonder if the spring release candidate has a fault.
I am using the openSessionInView filter to keep a hibernate session open in the presentation layer.
What I have is a JSF data table acessing a backing bean. The backing bean generates a list of objects retrieved from the database. JSF then goes through this list of objects and tries to render each one as a row. The problem is when the object tries to access a persistant collection it fails because of no session. With an older version of spring and hibernate 2.1 this worked.
Can you tell me what may have changed?
Thanks :)