[Hibernate-devel] How do you get hold of a javax.transaction.Transaction?

2002-06-14 Thread Gavin_King/Cirrus%CIRRUS
Does anyone know a reasonably portable way to get hold of a javax.transaction.Transaction or javax.transaction.TransactionManager from an application server JNDI server? If I knew how to do this, I could get the caching stuff working properly for situations where the JTA transaction is incomplete

[Hibernate-devel] Hibernate.config() now in CVS

2002-06-14 Thread Gavin_King/Cirrus%CIRRUS
I checked in the new configuration system last night, after testing it out in websphere. Check it out - tell me what sucks. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devc

Re: [Hibernate-devel] How do you get hold of a javax.transaction.Transaction?

2002-06-14 Thread Jon Lipsky
I think this might have to be yet another configurable property. I needed to do this using Orion as my application server, and here is how I did it: TransactionManager manager = (TransactionManager)new InitialContext().lookup("java:comp/UserTransaction"); However, I don't know if it works the sa