Groovy Documentation

simplejpa.transaction
[Java] Annotation Type Transaction

java.lang.Object
  simplejpa.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

newSession

public boolean newSession
@default false


value

public Transaction.Policy value
@default Policy.NORMAL


 
Method Detail

valueOf

Transaction valueOf(String name)
Returns the enum constant of this type with the specified name.


values

Transaction[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation