users@glassfish.java.net

Re: Unable to update data using Hibernate + Glassfish

From: <glassfish_at_javadesktop.org>
Date: Fri, 22 Jun 2007 06:50:08 PDT

Hello Sahoo,

I am looking at the spec as we speak to see if there is anything in it that clearly prohibits doing so. However, the method joinTransaction() on EM does tell us something about the intention of the spec writers. They, most probably, didn't want an application managed EM to be automatically bound to an ongoing transaction when such an EM is created outside of the transaction's scope. Hence, the joinTransaction() API.

Anyway, I am sending an email to Linda DeMichiel and Marina Vatkina to see what they have to say, before I go ahead and file a bug.

Thanks for all your help on this.

Regards,
Rima.
[Message sent by forum member 'rpatel' (rpatel)]

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