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

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 - restricted [ 1510043 ] New: JAC Bug Workflow v3 [ 3364048 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: Simplified Crowd Development Workflow v2 [ 1392759 ] New: Simplified Crowd Development Workflow v2 - restricted [ 1510043 ]
            Owen made changes -
            Workflow Original: Crowd Development Workflow v2 [ 273222 ] New: Simplified Crowd Development Workflow v2 [ 1392759 ]
            jawong.adm made changes -
            Workflow Original: JIRA Bug Workflow v2 [ 174235 ] New: Crowd Development Workflow v2 [ 273222 ]
            Justin Koke made changes -
            Workflow Original: jira [ 121640 ] New: JIRA Bug Workflow v2 [ 174235 ]
            Justin Koke made changes -
            Assignee Original: David O'Flynn [Atlassian] [ doflynn ] New: Justin Koke [ justin@atlassian.com ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            Justin Koke made changes -
            Fix Version/s New: 1.3 [ 13422 ]
            Graham Bakay created 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: