users@glassfish.java.net

Persistence with JTA

From: <glassfish_at_javadesktop.org>
Date: Thu, 01 Apr 2010 13:57:59 PDT

Hi everyone !
I'm doing a little application with jsf/ejb/glassfish/eclipseLink

I'm trying to persist some objects in my database but they are just staying the time of the session, when I restart glassfish they have dissapeared from the base
Before i used an EntityTransaction et with a persist() I did a begin and after my code a commit.
But if have an error that say that I can't une an EntityTransation with JPA.

So how can I persist an object in base with JTA ?? :/
[Message sent by forum member 'manta7']

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