Hi all, i have a mapped Entity JPA tables to database with no transaction support and when a have a SSB with eg:
List method x(){
1- x = em.persist(obj);
2- y = em.find(obj.class,key);
3- z = em.createNamedQuery(queryXX).getResultList();
System.out.println(x+y+z);// at this line all ok
return z;
}
java.lang.RuntimeException: javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state
org.jboss.aspects.tx.TxPolicy.handleEndTransactionException(TxPolicy.java:198)