users@glassfish.java.net

EntityTransaction vs UserTransaction

From: <glassfish_at_javadesktop.org>
Date: Fri, 11 Jul 2008 06:55:11 PDT

I am developing a Java SE project using JPA. Because I can't use any container-managed or bean-managed transaction (not sure about bean-managed here), anyways, I decided to client-controlled approach and I found both the EntityTransaction and UserTransaction would work in my codes. But what is the difference between them?
[Message sent by forum member 'bobxu' (bobxu)]

http://forums.java.net/jive/thread.jspa?messageID=285980