|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||
java.lang.Objectsimplejpa.transaction.Transaction
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@GroovyASTTransformationClass("simplejpa.transaction.TransactionTransformation")
public @interface Transaction
| Nested Class Summary | |
|---|---|
enum |
Transaction.Policy
|
| Optional Element Summary | |
|---|---|
boolean |
newSession
@default false |
null |
value
@default Policy.NORMAL |
| Method Summary | |
|---|---|
Transaction
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
Transaction[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Object | |
|---|---|
| getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait |
| Element Detail |
|---|
public boolean newSession
public Transaction.Policy value
| Method Detail |
|---|
Transaction valueOf(String name)
Transaction[] values()
Groovy Documentation