Re: Problem with sequence trying to commit inside a JTA tx

2006-10-04 Thread David Jencks
On Oct 3, 2006, at 9:54 AM, Abe White wrote: I'm trying to set up a really simple example inside geronimo with container managed transactions/persistence contexts. When I create and persist an object the TableJDBCSeq is trying to commit the connection before closing it: since it's in a

RE: Problem with sequence trying to commit inside a JTA tx

2006-10-04 Thread Patrick Linskey
Following the advice there (and elsewhere) I managed to get my example working!!! The main step appears to be including a non-jta datasource. Cool. I'm still unable to figure out how to get the tables auto-created. Putting properties in persistence.xml or feeding them to

Re: Problem with sequence trying to commit inside a JTA tx

2006-10-04 Thread Abe White
With regard to your JIRA suggestion, are you saying there is no way using these properties to choose between e.g. TableJDBCSeq and ClassTableJDBCSeq or the oracle sequence sequence? I'm happy to file lots of jiras but I'd prefer to be a little more sure of what the problem is :-) No, I

Re: Problem with sequence trying to commit inside a JTA tx

2006-10-03 Thread Abe White
I'm trying to set up a really simple example inside geronimo with container managed transactions/persistence contexts. When I create and persist an object the TableJDBCSeq is trying to commit the connection before closing it: since it's in a JTA tx of course this fails.