Announcement Announcement Module
Collapse
No announcement yet.
Hibernate and Clob Handling Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment

    Working...
    X