[JBoss-user] [Beginners Corner] - Re: How to obtain the UserTransaction object in a session be

2006-07-03 Thread alllle
Just to make this thread complete. I've solved the problem after lots of research. The problem was actually caused by that I specified the JDBC connection information in the Hibernate configuration file directly. In other words, Hibernate uses the JDBC directly without letting the JBoss App Ser

[JBoss-user] [Beginners Corner] - How to obtain the UserTransaction object in a session bean?

2006-06-29 Thread alllle
Just started with JBoss + EJB 3 + Hibernate. I have some simle SessionBean object, in which it obtains Hibernate Session object and performs db related operations. I configured the Hibernate to use JTA from JBoss by specifying Hibernate property jta.UserTransaction=UserTransaction. Then I found