For investigation: Should we rollback by default?


The rollBackOnError flad on EntityPersistor is set by default. That would be necessary for long-running contexts (which we no longer use), but is arguably not necessary for web applications (where context is binned on any error). It could still be configured manually to true. But, in at least one case, this obscured an error.
Closed Mar 21, 2014 at 3:30 PM by RichardPawson


scascarini wrote Jan 23, 2014 at 2:08 PM

Changed so that we do not rollback by default.

Note that this is fully configurable and can be reset to always rollback by setting the 'RollbackOnError' flag on the EntityPersistorInstaller to 'true'