Results 1 to 2 of 2

Thread: Hibernate and Clob Handling

  1. #1
    Join Date
    Aug 2004
    Posts
    107

    Default Hibernate and Clob Handling

    In my unit test of the dao I was able to save an object with standard fields without a problem. When I added a Clob field, I get the following exception:

    "Active Spring transaction synchronization or jtaTransactionManager on LocalSessionFactoryBean plus active JTA transaction required" (thrown from class org.springframework.orm.hibernate.support.Abstract LobType"

    Why do I need a transaction manager to handle a clob?

    dino

  2. #2
    Join Date
    Aug 2004
    Location
    Toronto, Canada
    Posts
    736

    Default

    There are resources which need to be cleaned up. This can't happen unless you synchronize to the transaction, at the end of which an automatic cleanup can happen.

Similar Threads

  1. Insert Clob using Oracle
    By Anandhan in forum Data
    Replies: 13
    Last Post: Mar 28th, 2007, 06:30 AM
  2. Replies: 5
    Last Post: Jun 15th, 2005, 03:21 AM
  3. spring + hibernate + clob
    By tirtza in forum Data
    Replies: 0
    Last Post: May 31st, 2005, 08:47 AM
  4. Replies: 6
    Last Post: Jan 14th, 2005, 08:45 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
  •