Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-12-02 Thread Simon Stewart
On Sunday, Dec 1, 2002, at 03:16 Europe/London, Peter Fagerlund wrote: chill - hibernate just works (TM) - inside JBoss or out ! ... It does seem like a nice O/R framework, and the demo is quite impressive. The gay is slandering hiberbate here and jboss there - Simon - U say U not going to u

Re: jdbc connection autocommit, was: [JBoss-user] Hibernate and JBoss 3.0.4

2002-12-01 Thread Dmitri Colebatch
> > From: "David Jencks" <[EMAIL PROTECTED]> [snip] > 1. If you are using cmt, you shouldn't ever look at the autocommit setting [snip] Thanks David - as always helping us all understand (o: I was just worried when I saw talk of autocommit inside the server. cheers dim ---

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-30 Thread David Jencks
Thanks. I applied this patch and I think made the xa version keep track of inManagedTransaction so it should work for the xa wrapper also. Could you take a look? I just applied it to head. david jencks On 2002.11.29 10:59:16 -0500 Igor Fedorenko wrote: > > Simon Stewart wrote: > > Off list

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-30 Thread Peter Fagerlund
chill - hibernate just works (TM) - inside JBoss or out ! ... The gay is slandering hiberbate here and jboss there - Simon - U say U not going to use jboss in prod anyway ! *** From the hibernate list We conclude this Simon (Jasons Brother ...heeh) is using a generation totally wrong in its f

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-30 Thread Igor Fedorenko
David Jencks wrote: Why do you think this answer is correct? Does the jdbc spec say so? I think if you are in a managed transaction, autocommit should be reported true -- you didn't set autocommit (false), and you can't control when the transaction is committed. JDBC 2.0 Standard Extension API,

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-30 Thread David Jencks
On 2002.11.29 11:33:56 -0500 Simon Stewart wrote: > On Friday, Nov 29, 2002, at 17:09 Europe/London, David Jencks wrote: > > > Autocommit on is required by the jca spec, and should have been the > > case > > for 3.0 versions as well. You should endevour to make the > > transactions be > > con

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-30 Thread David Jencks
Why do you think this answer is correct? Does the jdbc spec say so? I think if you are in a managed transaction, autocommit should be reported true -- you didn't set autocommit (false), and you can't control when the transaction is committed. Also, why won't the same patch work for xa datasource

Re: jdbc connection autocommit, was: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-30 Thread David Jencks
On 2002.11.29 17:49:02 -0500 Dmitri Colebatch wrote: > From: "David Jencks" <[EMAIL PROTECTED]> > > Autocommit on is required by the jca spec, and should have been the > case > > for 3.0 versions as well. You should endevour to make the transactions > be > > controlled by the jboss tm/jta/cmt etc.

jdbc connection autocommit, was: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Dmitri Colebatch
From: "David Jencks" <[EMAIL PROTECTED]> > Autocommit on is required by the jca spec, and should have been the case > for 3.0 versions as well. You should endevour to make the transactions be > controlled by the jboss tm/jta/cmt etc. For a somwhat similar example of > how this can be accomplished

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Simon Stewart
On Friday, Nov 29, 2002, at 17:09 Europe/London, David Jencks wrote: Autocommit on is required by the jca spec, and should have been the case for 3.0 versions as well. You should endevour to make the transactions be controlled by the jboss tm/jta/cmt etc. For a somwhat similar example of

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread David Jencks
Autocommit on is required by the jca spec, and should have been the case for 3.0 versions as well. You should endevour to make the transactions be controlled by the jboss tm/jta/cmt etc. For a somwhat similar example of how this can be accomplished look at tjdo with the jca support patch I submit

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Igor Fedorenko
Simon Stewart wrote: Off list I had a reply to this email, the gist of the email (and my reply) was: I encountered this problem when migrating an application from JBoss 3.0.0 to 3.0.4. I came back to 3.0.0 without investigating the problem. The same problem occurs in 3.2.0beta2, so unless yo

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Peter Fagerlund
fredagen den 29 november 2002 kl 15.34 skrev Simon Stewart: I've heard great things about Hibernate, but this is starting to get beyond a joke. Any help getting this working would be appreciated! I think - it might be a simple configuration problem ? ... Can You try the JMX deploy ? ... and r

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Simon Stewart
Off list I had a reply to this email, the gist of the email (and my reply) was: I encountered this problem when migrating an application from JBoss 3.0.0 to 3.0.4. I came back to 3.0.0 without investigating the problem. The same problem occurs in 3.2.0beta2, so unless you're thinking of never

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Simon Stewart
On Friday, Nov 29, 2002, at 14:17 Europe/London, Peter Fagerlund wrote: fredagen den 29 november 2002 kl 14.12 skrev Simon Stewart: I now have a problem using Hibernate, but that's not appropriate for this list :) How do You execute hibernate ? by deploying the JMX MBean ? I don't use the

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Peter Fagerlund
fredagen den 29 november 2002 kl 14.12 skrev Simon Stewart: I now have a problem using Hibernate, but that's not appropriate for this list :) How do You execute hibernate ? by deploying the JMX MBean ? /peter_f --- This SF.net email is sp

Re: [JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Simon Stewart
In order to create a new transaction, the following settings need to be set in hibernate.properties: jta.UserTransaction=UserTransaction hibernate.transaction.manager_lookup_class=cirrus.hibernate.transaction. JBossTransactionManagerLookup This allows hibernate to start a new Transaction witho

[JBoss-user] Hibernate and JBoss 3.0.4

2002-11-29 Thread Simon Stewart
I am using JBoss 3.0.4, Postgres 7.2.2 and the JDK 1.3 on OS X, as well as the release candidate of hibernate 1.2 (hibernate 1.2 beta 4), and I am having difficulty committing any changes that I make because I get a message saying that I "cannot commit with autocommit set!" The same problem