REQUIRED(默認值):在有transaction狀態下執行;如當前沒有transaction,則建立新的transaction;spa
SUPPORTS:如當前有transaction,則在transaction狀態下執行;若是當前沒有transaction,在無transaction狀態下執行;.net
MANDATORY:必須在有transaction狀態下執行,若是當前沒有transaction,則拋出異常IllegalTransactionStateException;code
REQUIRES_NEW:建立新的transaction並執行;若是當前已有transaction,則將當前transaction掛起;blog
NOT_SUPPORTED:在無transaction狀態下執行;若是當前已有transaction,則將當前transaction掛起;io
NEVER:在無transaction狀態下執行;若是當前已有transaction,則拋出異常IllegalTransactionStateException。異常
摘自:http://blog.csdn.net/kiwi_coder/article/details/20214939co