Announcement Announcement Module
Collapse
No announcement yet.
Upgrading Hibernate 3 to Hibernate 4 - useTransactionAwareDataSource Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Upgrading Hibernate 3 to Hibernate 4 - useTransactionAwareDataSource

    Hi,

    I am upgrading an application from Spring 2, Hibernate 3 to Spring 4, Hibernate4.

    I have modified references from org.springframework.orm.hibernate3.LocalSessionFac toryBean to org.springframework.orm.hibernate4.LocalSessionFac toryBean.
    The application was setting useTransactionAwareDataSource property of LocalSessionFactoryBean to true.
    But this property (useTransactionAwareDataSource) is not available in org.springframework.orm.hibernate4.LocalSessionFac toryBean.

    I am looking for a solution how to achieve this.
    I appreciate any responses.
Working...
X