Results 1 to 4 of 4

Thread: passing a JtaTransactionManager to a LocalSessionFactoryBean

  1. #1
    Join Date
    Jun 2005
    Posts
    4

    Default passing a JtaTransactionManager to a LocalSessionFactoryBean

    Hi,

    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!
    Jimmy G.
    Software Developer

  2. #2
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    A very similar thread has been also posted in the last days - search/browse the forums for it.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  3. #3
    Join Date
    Jun 2005
    Posts
    4

    Default searching...

    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...
    Jimmy G.
    Software Developer

  4. #4
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    Yep, I think you found the thread. Try the dev mailing list - they always have the solution.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

Similar Threads

  1. design question: passing context
    By Alarmnummer in forum Management
    Replies: 0
    Last Post: Oct 3rd, 2005, 01:20 PM
  2. Passing a boolean to a stored procedure
    By cazwood in forum Data
    Replies: 1
    Last Post: Jul 28th, 2005, 01:01 PM
  3. Replies: 2
    Last Post: Jul 20th, 2005, 04:46 AM
  4. Replies: 8
    Last Post: Jan 17th, 2005, 10:14 AM
  5. passing xslt stylesheet parameters
    By jsleeuw in forum Web
    Replies: 0
    Last Post: Dec 24th, 2004, 09:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •