Results 1 to 2 of 2

Thread: TransactionManager singleton

  1. #1
    Join Date
    Aug 2004
    Location
    Vrhnika, Slovenia
    Posts
    133

    Default TransactionManager singleton

    I am using more DAO objects (working on the same SessionFactory) which all requre Hibernate transaction manager (via TransactionProxyFactoryBean).

    Should my hibernateTransactionManager be a prototype bean?

    What about working with Quartz? Since Hibernate transaction manager works on the same DataSource, will the same bean also be good for transactional purposes?

    Thanx,
    Ales

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    The transaction manager should be a singleton. I'm not the best person to answer the Quartz question.

Similar Threads

  1. Unit testing with JOTM and JtaTransactionManager
    By lalle in forum Architecture
    Replies: 1
    Last Post: Oct 15th, 2005, 09:05 AM
  2. Replies: 4
    Last Post: Oct 5th, 2005, 11:04 AM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. Replies: 6
    Last Post: May 25th, 2005, 01:56 AM
  5. DefaultAdvisorAutoProxyCreator skipping beans
    By youngm in forum Container
    Replies: 6
    Last Post: Apr 12th, 2005, 04:29 PM

Posting Permissions

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