Announcement Announcement Module
Collapse
No announcement yet.
TransactionManager singleton Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    The transaction manager should be a singleton. I'm not the best person to answer the Quartz question.

    Comment

    Working...
    X