Enterprise Architecture (EA) is considered a mandatory tool for big companies, those which can afford the required human and financial resources to use it.
对那些能负担得起企业架构(EA)所需人力和财力的大企业来说,EA往往被认为是必定会使用的工具。
The main point here is always to use either the MANDATORY or REQUIRED attribute instead of REQUIRES_NEW unless you have a reason to use it for reasons similar those to the audit example.
这里要注意的一点是,要始终使用MANDATORY或REQUIRED属性,而不是REQUIRES_NEW,除非您有足够的理由来使用它,类似审计示例中的那些理由。
Unlike the required attribute, the MANDATORY attribute will not start a transaction if one does not exist, but rather will throw an exception indicating that a transaction is required.
与REQUIRED属性不同,MANDATORY属性将不会开始不存在的事务,而是抛出一个异常,指示需要事务。
应用推荐