Results 1 to 2 of 2

Thread: Transaction propagation

  1. #1
    Join Date
    Jan 2005
    Location
    Rome, Italy
    Posts
    17

    Default Transaction propagation

    Hi all,
    My scenario is based on appfuse:
    spring + dao + hibernate + service (Business Facade).

    Hibernate transaction is based on org.springframework.orm.hibernate3.HibernateTransa ctionManager

    Service transaction is managed through a transactionProxyTemplate based on
    org.springframework.transaction.interceptor.Transa ctionProxyFactoryBean with ransactionAttributes. Every defined manager is parent of transactionProxyTemplate.

    Is there is a way to propagate transaction from a manager to another using aop?

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

    Default

    Is there is a way to propagate transaction from a manager to another using aop?
    I assume you are referring to multiple proxies, not multiple transaction managers. You normally don't want or need multiple transaction managers.

    If the former, you don't need to do anything at all for propagation to work. It will simply occur as according to Spring transaction propagation semantics, which are semantically compatible superset of those available with EJB (any version).

    Rgds
    Rod
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Posting Permissions

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