With JEE transaction I would have to handle everything manually? Like so 

UserTransaction transaction = (UserTransaction)new
InitialContext().lookup("java:comp/UserTransaction");
transaction.begin();
EntityManager em = getEntityManager();
Employee employee = em.find(Employee.class, id);
employee.setSalary(employee.getSalary() + 1000);
transaction.commit();

http://en.wikibooks.org/wiki/Java_Persistence/Transactions

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-Transactions-tp5713299p5713334.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to