AnsweredAssumed Answered


Question asked by adepue on Jul 20, 2005
I'm writing this message in an attempt to avoid spending the time to dig through source code. :)
I've been working on integrating Alfresco with my development project and noticed that it uses its own AlfrescoTransactionManager (which extends org.springframework.orm.hibernate3.HibernateTransactionManager).  My application already uses and relies upon JTA transactions (I'm using Spring's transaction abstraction, thus org.springframework.transaction.jta.JtaTransactionManager).  Ideally, Alfresco would just play right along and participate in surrounding JTA transactions - but since it uses its own transaction manager, I'm wondering how well Alfresco will play along with my system?  I'm still getting things constructed in such a way to even perform a single test, so I'm not at a state where I can answer that question from a running system.
As I said, I haven't (yet) taken the time to dig through AlfrescoTransactionManager, so this next statement is made in ignorance - but from a quick glance I'm wondering why Spring's TransactionSynchronizationManager couldn't have been used instead?  It would then be compatible with whatever Spring TransactionManager is already in place.

  - Andy