EJB @TransactionAttribute
The @TransactionAttribute annotation can be used to signify what kind of transaction handling is expected. Below you will see an example on how to do this.
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public void txIsRequiredOnMe {
}
Copyright © 2003-2009 Manorrock.com. All Rights Reserved.