AnsweredAssumed Answered

Activiti Schema Deployment Options

Question asked by jpeters on Mar 29, 2016
Latest reply on Apr 4, 2016 by jbarrez

I have a n00b question that doesn't seem to be answered anywhere directly (please feel free to link me to an existing resource that I may have missed).

Does it matter whether Activiti and my Spring/Hibernate application share the same data source (i.e. specific host+port+db)? I'm thinking along the lines of transaction management here; I read the user guide and it seems Activiti will join an existing Spring transaction if supplied a transaction manager, but are there possible scenarios where it might be acceptable for an Activiti service method to fail but *not* cause a rollback in in the transaction in which the application's service method may be involved (or vice versa)?

And as a follow up, if for some reason I did not wish to use the same data source and instead provide Activiti with its own data source would that necessitate the use of a transaction manager capable of supporting distributed transactions?

Thanks so much,