users@glassfish.java.net

SEQUENCE Table, Concurrency and Deadlocks

From: <glassfish_at_javadesktop.org>
Date: Tue, 25 Mar 2008 07:30:22 PST

Hi,

i run into TimeoutException using auto generated entity-ids (GenerationType.AUTO), because my transaction runs to long.

In http://en.wikibooks.org/wiki/Java_Persistence/Identity_and_Sequencing#Concurrency_and_Deadlocks
("Concurrency and Deadlocks") i read, that i have to use a "non-JTA data-source" for the autogenerated SEQUENCE table.

How can i tell toplink to use non-JTA context for managing this SEQUENCE table ?

regards

Danny
[Message sent by forum member 'danny70437' (danny70437)]

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