This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to use hibernat template to execute the following code
When the following line
is executed I get the following error.
org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed
My config files are as follows:
By any chance is the following line
closing the session. If you look at the config files, i have not defined any association, so lazy loading is not in picture. I am not able to understand why i get this error.
Can some help to understand the concept.
SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: could not initialize proxy - the owning Session was closed