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

  • HibernateTransactionManage cause troubles

    Hello dear community.

    I export my service layer methods which have transactional aspect to JMX. I can invoke this methods from jconsole when I use

    Code:
    org.springframework.jdbc.datasource.DataSourceTransactionManager
    as transactionManager.

    When I am switching to

    Code:
    org.springframework.orm.hibernate3.HibernateTransactionManager
    I have the following exception when trying to invoke method:

    Code:
    org.springframework.transaction.CannotCreateTransactionException
    From integration tests and when deploying to Tomcat such methods invoke successfully but not from JMX. What causes such troubles?
Working...
X