Hello I was not infrequently saying "no session or session was closing" I know that because I try to invke One collection of a hibernate is making the object in the second session, so there is one way to do this, to make the filter and JOIN fetch mode do not include it ....
Grave: failed in laziness Start a collection of roles: N.D.U.ID.Data.blog.kuro.modules, any session or session b The was not. Hibernate Lazy Initialization Exception: A collection of role failed to start: ni.edu.uni.id.data.object.Curso.modulos, no session or session was closed
The object is better to refresh constantly. Like call dao getById () is going through an object ID and then use the required collection.
Comments
Post a Comment