[
https://issues.jboss.org/browse/GADGETS-67?page=com.atlassian.jira.plugin...
]
Gary Brown resolved GADGETS-67.
-------------------------------
Resolution: Done
Appears to be fixed by manually creating entity managers for each operation. One downside
was that some of the contained collections with the model objects were lazily fetched, so
when accessed outside the scope of the user manager impl method, they caused exceptions.
Tried adding FetchType.EAGER to the OneToMany relationships, but this caused google guice
initialization problems, so in the end had to manually touch each collection (by accessing
its size) to cause it to be fetched before returning the model objects.
Concurrency problems with hibernate
-----------------------------------
Key: GADGETS-67
URL:
https://issues.jboss.org/browse/GADGETS-67
Project: Gadget Server and Gadgets
Issue Type: Bug
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 1.0.0.Final
Attachments: server2.log
Appears to be some strange exceptions occurring periodically. See attached server log.
One of the exceptions (org.hibernate.HibernateException: Flush during cascade is
dangerous), from a google search, seems to imply a concurrent issue can occur when using
ajax requests (which gs does).
Other exceptions that have occurred include npe.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira