play.db.jpa
Annotation Type Transactional


@Target(value={TYPE,METHOD})
@Retention(value=RUNTIME)
public @interface Transactional

Wraps the annotated action in an JPA transaction.


Optional Element Summary
 boolean readOnly
           
 java.lang.String value
           
 

value

public abstract java.lang.String value
Default:
"default"

readOnly

public abstract boolean readOnly
Default:
false