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
value
public abstract TransactionMode value
- Default:
- org.jboss.arquillian.persistence.TransactionMode.COMMIT
Copyright © 2011 JBoss by Red Hat. All Rights Reserved.