org.apache.tapestry5.hibernate.annotations
Annotation Type CommitAfter


@Target(value=METHOD)
@Retention(value=RUNTIME)
@Documented
@UseWith(value={COMPONENT,MIXIN,PAGE})
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:
HibernateTransactionAdvisor, HibernateTransactionDecorator



Copyright © 2003-2012 The Apache Software Foundation.