Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsINSERT outside of transaction?
https://www.eclipse.org/forums/index.php/mv/msg/170233/540898/#msg_540898
I amb trying to do strange things with EclipseLink and until I solve the issue linked I need to do a EntityManager.persist() *outside* of transaction control:
If I comment out the begin/commit part things *seem* to work, but nothing gets inserted into the database.
Note that I am connecting to a FoxPro table, so it isn't Transaction capable anyway.
How can I Persist() the object wihout a begin()/commit() cycle?
Thanks,
Marc]]>Marc Fargas2010-06-17T14:56:54-00:00Re: INSERT outside of transaction?
https://www.eclipse.org/forums/index.php/mv/msg/170233/541327/#msg_541327
did you try
em.flush();
Greetings
Rolf]]>Rolf Paulsen2010-06-20T06:46:32-00:00Re: INSERT outside of transaction?
https://www.eclipse.org/forums/index.php/mv/msg/170233/541722/#msg_541722
]]>Marc Fargas2010-06-22T10:24:33-00:00