users@glassfish.java.net
Re: Working with JPA in a non EE environment
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
glassfish_at_javadesktop.org
>
Date
: Tue, 08 May 2007 07:53:09 PDT
Or
try {
if (em.getTransaction().isActive()) em.getTransaction().rollback();
} finally {
em.close();
}
I found this blog entry to be very helpful.
http://weblogs.java.net/blog/guruwons/archive/2006/09/understanding_t_1.html
Also there are several sessions on JPA during JavaOne[1]. I hope JPA in on Java EE environments (not just in unit test cases) is covered in these.
[1] :
http://developers.sun.com/learning/javaoneonline/j1online.jsp?track=3&yr=2007
[Message sent by forum member 'cprashantreddy' (cprashantreddy)]
http://forums.java.net/jive/thread.jspa?messageID=216003
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Re: Metadata from the resultlist"
Previous message
:
glassfish_at_javadesktop.org: "Versions to consider - startup company"
In reply to
:
glassfish_at_javadesktop.org: "Re: Working with JPA in a non EE environment"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]