Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.hibernate.TransactionException: Unable to locate JTA UserTransaction

 
Sawan Mishra
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I am trying to run a sample hibernate program but m getting exception while invoking getTransaction().begin() of session.
exception m getting is:
org.hibernate.TransactionException: Unable to locate JTA UserTransaction


Here is my hibernate configuration file


As per my understanding hibernate needs a transaction for querying database.If transaction snt provided by
third party vendor then it should take by default transaction....
But dont know why this simple program snt working
please help me out


thanks
with regards
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic