[Hibernate] JCA opens transactions outside of UserTransaction

2004-08-02 Thread Lendvai Attila
Hello dev list! Here's a patch of mine, now even updated. I've reported long ago that the JCA impl opens sql transaction before the UserTransaction is ensured. This is only a problem is the Hibernate call is issued from a non-transactional ejb or web layer. But then the sql transaction is not com

[Hibernate] java.lang.UnsupportedOperationException: The user must supply a JDBC connection

2004-08-02 Thread Payam Fard
Hi all, I am getting the following error message trying to use hibernate: java.lang.UnsupportedOperationException: The user must supply a JDBC connection I understand it cannot find hibernate.properties file, but how do I know where it is looking to find this file? Is there a way to find out whe

Re: [Hibernate] java.lang.UnsupportedOperationException: The user must supply a JDBC connection

2004-08-02 Thread Christian Bauer
On Aug 2, 2004, at 5:01 PM, Payam Fard wrote: I am getting the following error message trying to use hibernate: java.lang.UnsupportedOperationException: The user must supply a JDBC connection I understand it cannot find hibernate.properties file, but how do I know where it is looking to find this f

Re: [Hibernate] JCA opens transactions outside of UserTransaction

2004-08-02 Thread Christian Bauer
On Aug 2, 2004, at 5:03 PM, Lendvai Attila wrote: The patch is against the latest H3 branch, so applying it now would be ideal. I fixed this in Hibernate 2.1.5, we would need a clean rewrite of the JCA stuff in Hibernate3. -- Christian Bauer +49 171 455 66 53 callto://christian-bauer Hibernate [E