Hibernate doesn't like persistent collections to be associated with multiple open Sessions - throwing the notorious 'Illegal attempt ...' exception if it happens across any.
I've run into these exceptions with the tapestry-hibernate integration and believe the problem is caused by the HibernateSessionManagerImpl not closing Sessions on thread cleanup.
Please see this mailing list thread for further discussion:
(I haven't upgraded to 5.0.6 yet, but didn't see anything in its source that would fix this, so i'm pretty sure it's still a problem).
|Field||Original Value||New Value|
[ I believe I am bumping up against this issue, also. Let me know if you want to see the code that's making this issue show up. I am using 5.0.6.
As always, thanks for your work,
|Assignee||Howard M. Lewis Ship [ hlship ]|
|Status||Open [ 1 ]||In Progress [ 3 ]|
|Summary||Hibernate Sessions are not being closed on thread cleanup||Hibernate Sessions are not being closed at the end of the request|
|Resolution||Fixed [ 1 ]|
|Status||In Progress [ 3 ]||Closed [ 6 ]|
|Fix Version/s||5.0.10 [ 12312936 ]|
|Workflow||jira [ 12415538 ]||Default workflow, editable Closed status [ 12568434 ]|
|Workflow||Default workflow, editable Closed status [ 12568434 ]||jira [ 12591488 ]|