Bug #427 (closed)
Opened 18 years ago
Closed 17 years ago
RawPixelsBean is not transactional
Reported by: | jamoore | Owned by: | cxallan |
---|---|---|---|
Priority: | minor | Cc: | |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description
Similar to #410, RawPixelsBean is now throwing the following (following the fixes to #326):
ome.conditions.InternalException: Synchronization not active for TransactionSynchronizationManager at ome.tools.hibernate.SessionHandler.bindSession(SessionHandler.java:280) at ome.tools.hibernate.SessionHandler.acquireBindAndConfigureSession(SessionHandler.java:268) at ome.tools.hibernate.SessionHandler.newOrRestoredSession(SessionHandler.java:227) at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:165)
Change History (6)
comment:1 Changed 18 years ago by jmoore
comment:2 Changed 18 years ago by jmoore
comment:3 Changed 18 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Chris seems to be happy. Closing.
comment:4 Changed 18 years ago by cxallan
- Resolution fixed deleted
- Status changed from closed to reopened
Re-opening as some methods within the RawPixelsBean? seem to need to be set to readOnly=false. Will investigate further. For the moment r1041 makes things work.
comment:5 Changed 17 years ago by jmoore
- Owner changed from jmoore to callan
- Status changed from reopened to new
Passing off to Chris.
comment:6 Changed 17 years ago by cxallan
- Resolution set to fixed
- Status changed from new to closed
Resolved in milestone:3.0-Beta2.
This has a combination of causes, but some background is available at:
http://forum.springframework.org/showthread.php?t=12403
Basically, we were inappropriately using the Spring/JTA infrastructure. In fact, it's unclear why it was working at all. Will need to mark all beans for BMT, and slowly disable the non-JTA transactional support (see in-container.xml!hibernate.properties) which was making it semi-work.