Hey I am developing an desktop application using Spring and Hibernate, and I have a problem with lazy initiation. I looked in the web and every solution is related to the open session in view pattern, but I can't use this pattern. I've also tried to get the sessionfactory
from the HibernateTemplate
, but it returns to me a disconnected session.
Does anyone know other solution?