Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.api
Annotation Type NoRollbackOnException


@Documented
@Inherited
@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface NoRollbackOnException

This specifies that the annotated method should not provoke a transaction rollback when an exception is raised.

This is checked by pseudo-containers like TransactionalCoreSession.

Ideally, all exceptions should provoke a transaction rollback, but some old user code calls a few methods assuming the transaction stays active.


Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.