Groovy Documentation

simplejpa.transaction
[Groovy] Annotation Type SimpleJpaTransaction

java.lang.Object
  simplejpa.transaction.SimpleJpaTransaction

@Retention(RetentionPolicy.SOURCE)
@Target([ElementType.TYPE, ElementType.METHOD, ElementType.FIELD])
@GroovyASTTransformationClass("simplejpa.transaction.TransactionTransformation")
@interface SimpleJpaTransaction

Nested Class Summary
enum SimpleJpaTransaction.Policy

 
Method Summary
boolean newSession()

@default false

SimpleJpaTransaction.Policy value()

@default Policy.PROPAGATE

SimpleJpaTransaction valueOf(String name)

Returns the enum constant of this type with the specified name.

SimpleJpaTransaction[] 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
 

Method Detail

newSession

boolean newSession()
Default:
false


value

SimpleJpaTransaction.Policy value()
Default:
Policy.PROPAGATE


valueOf

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


values

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


 

Groovy Documentation