[GLASSFISH-20480] TransactionalException with @Transactional Created: 06/May/13  Updated: 20/Dec/16  Resolved: 14/May/13

Status: Resolved
Project: glassfish
Component/s: jts
Affects Version/s: 4.0_dev
Fix Version/s: None

Type: Bug Priority: Blocker
Reporter: arungupta Assignee: Romain Grécourt
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: fishcat


public class MyBean {
public void deleteMovie()

{ System.out.println("deleteMovie"); }


Invoking deleteMovie() method from a Serlvet throws the following exception:

INFO: In MANDATORY TransactionalInterceptor
WARNING: StandardWrapperValve[org.glassfish.sample.transactional.TestServlet]: Servlet.service() for servlet org.glassfish.sample.transactional.TestServlet threw exception
javax.transaction.TransactionalException: TransactionRequiredException thrown from TxType.MANDATORY transactional interceptor.
at org.glassfish.cdi.transaction.TransactionalInterceptorMandatory.transactional(TransactionalInterceptorMandatory.java:77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Comment by arungupta [ 06/May/13 ]

Assigning to Paul

Comment by paul_parkinson [ 06/May/13 ]

@ Issue is caused by TxType of Transactional annotation being/regressing to
@ @NonBinding. The change to fix this has been committed. We are just waiting for it to be promoted...

Comment by paul_parkinson [ 07/May/13 ]

need Romain to promote.

Comment by Romain Grécourt [ 14/May/13 ]

resolved yesterday (13 may 2013)

Generated at Thu Mar 30 20:28:45 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.