Transaction has been rolled back b/c marked as rollback-only
I am experiencing strange problems with one of my transactional methods. Whenever I create (vs. update) a new object I get this exception/message:
"Transaction has been rolled back because it has been marked as rollback-only"
The exact same code works if I am updating the same row with a different status, but fails when I am creating the object/row.
Also, sometimes I can force the object to commit by committing the transaction myself. But sometimes my explicit commit does not work.
I am accessing the service marked as transactional via JMS (just a queue with listener; no EJB anywhere in the app). I have tried both transactional and non-transactional sessions, but I consistently fail with either approach.
Here are my service transaction settings:
Code:
<property name="transactionAttributes">
<props>
<prop key="save*">PROPAGATION_REQUIRED</prop>
<prop key="remove*">PROPAGATION_REQUIRED</prop>
<prop key="*">PROPAGATION_REQUIRED</prop>
</props>
</property>
We are running on Oracle 10 AS (as_windows_x86_101202_disk1.zip).
Thanks in advance for your help!
Vaughn