Nuxeo Enterprise Platform 5.4

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 Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.