[
https://issues.jboss.org/browse/JBSEAM-4928?page=com.atlassian.jira.plugi...
]
Shane Bryzak resolved JBSEAM-4928.
----------------------------------
Resolution: Done
Fixed by commenting out the @Transactional annotation on BookingListAction.getBookings().
jpa example Exception calling user Synchronization: ... reuse of
Transaction instances not supported
----------------------------------------------------------------------------------------------------
Key: JBSEAM-4928
URL:
https://issues.jboss.org/browse/JBSEAM-4928
Project: Seam 2
Issue Type: Bug
Components: Core
Affects Versions: 2.3.0.BETA1
Environment: AS 7.1.1.Final
Reporter: Marek Schmidt
Assignee: Marek Novotny
Labels: jpa
Fix For: 2.3.0.BETA2
The TransactionSuccessEvent doesn't seem to work with (non-jta) Seam transactions.
The following error is found in the server logs in the jpa example:
{noformat}
15:35:33,089 ERROR
[org.hibernate.engine.transaction.internal.SynchronizationRegistryImpl]
(http--127.0.0.1-8080-1) HHH000260: Exception calling user Synchronization
[TransactionSuccessEvent(bookingConfirmed)] : javax.persistence.PersistenceException:
org.hibernate.TransactionException: reuse of Transaction instances not supported
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira