In Yuan & Heute's book version 12/6/2006 in section 9.4 "Simulate a Multi-page 
Transaction" ...

method confirm() is annotated 
@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED) and contains a 
call em.flush().

Per javax.persistence.EntityManager though for method flush() it @throws 
TransactionRequiredException if there is no transaction.

You see that, TransactionAttributeType.NOT_SUPPORTED would trigger that @throws 
TransactionRequiredException if there is no transaction, right?

Is section 9.4 speculation (as of 12/6/2006) or is anyone really using it?  Any 
insights?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001131#4001131

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001131
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to