New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: CWD-768
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Justin Koke [Atlassian]
Reporter: Graham Bakay
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Crowd

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

Created: 29/Jan/08 10:14 AM   Updated: 10/Feb/08 05:18 PM
Component/s: Backend / Domain Model , Integration - Confluence
Affects Version/s: 1.2.2
Fix Version/s: 1.3

Time Tracking:
Not Specified

Environment: Multiple environments. Tomcat 5.5.25, Java 5.

Participants: Graham Bakay and Justin Koke [Atlassian]
Since last comment: 30 weeks, 3 days ago
Resolution Date: 10/Feb/08 05:18 PM
Labels:


 Description  « Hide
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).



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.