Announcement Announcement Module
No announcement yet.
passing a JtaTransactionManager to a LocalSessionFactoryBean Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • passing a JtaTransactionManager to a LocalSessionFactoryBean


    Working on WebLogic 8.1 SP3 with Spring 1.1 and Hibernate 2.1.8... I have and entity that contains a Blob field. Whenever I do a save() operation, I get the following error:

    java.lang.IllegalStateException: Active Spring transaction synchronization or jtaTransactionManager on LocalSessionFactoryBean plus active JTA transaction required

    Obviously I need to pass a JtaTransactionManager ref in my applicationContext.xml... but what class do I actually pass? I can't seem to find it.

    Can anyone help?

    Thanks in advance!

  • #2
    A very similar thread has been also posted in the last days - search/browse the forums for it.


    • #3

      I have been searching, trying to find anything to help me.
      If you are refering to the "spring + hibernate (+ clob) transaction sychronization" thread, its the same problem, but no solution was posted.

      If you can point me in the right direction, that be great.

      Back to searching and reading docs...


      • #4
        Yep, I think you found the thread. Try the dev mailing list - they always have the solution.