Arquillian Persistence Extension API 1.0.0.Alpha2

org.jboss.arquillian.persistence
Annotation Type Transactional


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

Indicates that test needs to be wrapped within the transaction. By default it's enabled for all tests which are using Arquillian Persistence extension. It might be defined either on a class or a method level, where latter takes precedence if used.
Following modes are available:

Author:
Bartosz Majsak

Optional Element Summary
 TransactionMode value
           
 

value

public abstract TransactionMode value
Default:
org.jboss.arquillian.persistence.TransactionMode.COMMIT

Arquillian Persistence Extension API 1.0.0.Alpha2

Copyright © 2011 JBoss by Red Hat. All Rights Reserved.