org.apache.tapestry5.hibernate.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:
HibernateTransactionDecorator



Copyright © 2007-2009 Apache Software Foundation. All Rights Reserved.