-
Bug
-
Resolution: Fixed
-
High
-
1.2.2
-
None
-
Multiple environments. Tomcat 5.5.25, Java 5.
Both PrincipalDAOHibernate.add() (line 39) and GroupDAOHibernate.add() (line 39) call HibernateTemplate.clear() which closes the Hibernate Session.
Extending InternalDirectory to do multiple CRUD transactions fails after doing an add() because the Session is closed. Is the clear() necessary? Shouldn't the flush() do all a clear() does without closing the Sesison?
Our development requires us to comment out the clear() and recompile Crowd. It would be nice if add() could accommodate us (by leaving the Session open) and the import routines (which I'm told is why the clear() is there to begin with).
Form Name |
---|