Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unable to locate current JTA transaction error

Yahya Elyasse
Ranch Hand
Posts: 510
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
from a MDB onMessage(Message ) method i call code that use hibernate persistence api to retreive data from a database.
this call raises 'Unable to locate current JTA transaction' exception below. i'm including the code for hibernate persistencelayer.
can someone help me fix this problem?


hibernate logic code:
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!