Hi All,
I am going through the hibernate source code. In the method resolveUserTransactionName() of class org.hibernate.transaction.JTATransactionFactory, if the property for jta.UserTransaction is not set, it gets hard coded to DEFAULT_USER_TRANSACTION_NAME = "java:comp/UserTransaction"; there by creating a dependancy on JNDI. how can I overcome this? and what are the values that can be used for the property 'jta.UserTransaction' so I can avoid binding to JNDI since, my application does not use JNDI. Any input is appreciated.
regards Prasad
|