Hi,
as far as I have read here, if you receive LazyInitializationExceptions with OSIV Filter and Hibernate, because you store entities in the HTTP Session, the way to prevent this is to LOCK() the entity.
Well my problem is now how to get the hibernate session which is necessary to lock the entity?
Neither
LocalSessionFactoryBean
nor
SessionFactoryUtils
can give me the hibernate session. So how can I do that?
thanks in advance


Reply With Quote
