Results 1 to 2 of 2

Thread: Exception while insert Blob use Hibernate and spring!!HELP

  1. #1

    Default Exception while insert Blob use Hibernate and spring!!HELP

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

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

    Default

    Please everybody, do a search first on the forums before posting questions. This has actually been brought up a few times in just the last couple of weeks alone.

    As this thread mentions, you need to be either using Spring transactions or JTA transacitons at a minimum. This is so that resource cleanup can be synchronized to happen automatically at the end of the transaction.
    http://forum.springframework.org/showthread.php?t=10802

    In general, blob usage aside, you should be running transactionally anyways...
    Last edited by robyn; May 14th, 2006 at 10:31 AM.
    Colin Sampaleanu
    SpringSource - http://www.springsource.com

Posting Permissions

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