I'm creating an application using EJB3 + EclipseLink1.1, there's no error with my EJB3 and EclipseLink configuration..
i'm trying to insert data, but there's no data inserted in database..
the tables were generated successfully..
this is my persistence.xml :
please correct me if i'm wrong...
Thanks in advance..
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
usually, when i used this code in TopLink its could ran well, it could save data..
but i don't know exactly why only use this code in EclipseLink, i couldn't save any data..
please correct me if i'm wrong..
Thanks in advance..
Sorry, perhaps my english language isn't too good.. Prepare for SCJP 6, Please God help me.. ☼
References : [Java.Boot] [JavaChamp] [JavaPrepare]
Since you are using JTA, you need to set your target-server in your persistence.xml to integrate EclipseLink with your server.
Otherwise there is no commit callback from JTA.
i.e.
<property name="eclipselink.target-server" value="WebLogic"/>