Annotation Interface Transactional
Transactional annotation, if class or method was annotated with this annotation, system will execute method in transactional mode
- Version:
- $Revision: 1.0 $ $Date: Mar 30, 2016 3:45:19 PM $
- Author:
- Steven Wee wmkm0113@Hotmail.com
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionTransactional isolationClass<?>[]System will process rollback automatic when catch these exceptionsintSetting for transactional timeout value
-
Element Details
-
timeout
int timeoutSetting for transactional timeout value- Returns:
- Transactional timeout value
- Default:
- -1
-
isolation
Isolation isolationTransactional isolation- Returns:
- Transactional isolation
- See Also:
- Default:
- DEFAULT
-
rollbackFor
Class<?>[] rollbackForSystem will process rollback automatic when catch these exceptions- Returns:
- Rollback class list
- Default:
- {}
-