org.tynamo.jpa.annotations
Annotation Type CommitAfter


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

Marks a method of a service (or a component method) as transactional: the active transaction should commit after invoking the method. Runtime exceptions will abort the transaction, checked exceptions will also commit the transaction.

See Also:
JPATransactionAdvisor, JPATransactionDecorator



Copyright © 2009-2010. All Rights Reserved.