Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-768

Hibernate DAOs for Principals and Groups close the Hibernate Session when adding

      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).

            [CWD-768] Hibernate DAOs for Principals and Groups close the Hibernate Session when adding

            No work has yet been logged on this issue.

              justin@atlassian.com Justin Koke
              7da6d7ffe6d1 Graham Bakay
              Affected customers:
              0 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: