struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Thompson <>
Subject Re: struts2+hibernate+spring - lazyInitaializationException
Date Mon, 19 Jul 2010 17:22:20 GMT
Looks to me like the session is being closed in the scope of

I don't see a transactionManager mentioned in the XML ... you could
try adding something like this in the XML configuration file:

	<bean id="transactionManager"
		<property name="sessionFactory" ref="sessionFactory" />

	<tx:annotation-driven transaction-manager="transactionManager" />

n.b. I haven't tested the above config, so it probably won't work
as-is.  Hopefully it helps, though.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message