Hi,
What is the status of Hibernate Service when using with JBoss, either 3.2.2 or 4.0.0DR2 ?
If I put in my hibernate-service.xml the following line :
...
<attribute name="UserTransactionName">java:/UserTransaction</attribute>
...
I got this error ( from JBoss server.log ) :
...
... net.sf.hibernate.TransactionException: Could not find UserTransaction in JNDI: : UserTransaction not bound
...
If I code like this :
...
<attribute name="UserTransactionName">java:/TransactionManager</attribute>
...
I got this error :
...
... java.lang.ClassCastException ???
...
So, what is the correct configuration ?
Thanks.
|