• REQUIRES_NEW transaction attribute pitfalls.

    REQUIRES_NEW事务属性陷阱

    youdao

  • The RequiresNew transaction attribute is an interesting one.

    RequiresNew事务属性非常有趣

    youdao

  • The most common container-managed transaction attribute is Required.

    常用容器管理事务属性Required

    youdao

  • All of the EJB methods are configured with the Required transaction attribute.

    所有EJB方法都是Required事务属性配置的。

    youdao

  • In this case, the client is starting the transaction; hence the REQUIRED transaction attribute.

    这种情况下客户机启动事务因此使用REQUIRED事务属性。

    youdao

  • The only use case I have been able to come up with for this transaction attribute is for testing.

    想到针对事务属性唯一一个就是用于测试。

    youdao

  • The possible values for the transaction attribute and their descriptions are provided in Table 1.

    事务属性可能及其描述表1列出。

    youdao

  • An example of a LTC is an execution of a bean method with the transaction attribute NotSupported.

    LTC一个示例事务属性NotSupportedBean方法执行

    youdao

  • The key to transactional control with CMT is the EJB transaction attribute, which is discussed next.

    使用CMT事务控制关键接下来讨论EJB事务属性

    youdao

  • This is the most commonly used transaction attribute and is the default for both EJB 3.0 and Spring.

    常用事务属性并且EJB 3.0Spring默认属性。

    youdao

  • We tell the transaction advisor to apply the REQUIRED transaction attribute to all of the declared methods.

    我们告诉事务顾问 REQUIRED 事务属性应用于所有声明方法。

    youdao

  • All public read methods in the API layer by default should be marked with a transaction attribute of SUPPORTS.

    api中的所有公共方法默认应该标记一个SUPPORTS事务属性

    youdao

  • The Supports transaction attribute is another one that I find most developers don't fully understand or appreciate.

    Supports事务属性也是发现大多数开发人员完全理解掌握的个地方。

    youdao

  • For example, it might invoke a message-driven bean (MDB) with a container manager transaction attribute of Supports.

    例如可能使用Supports容器管理器事务属性调用消息驱动bean (MDB)。

    youdao

  • There are only a few use cases for this transaction attribute, and they primarily involve database stored procedures.

    这个事务属性只有少许并且它们主要涉及数据库存储过程

    youdao

  • This transaction attribute is used in the Client Orchestration transaction strategy described in this article's next section.

    这个事务属性应用本文一部分将要讨论的Client Orchestration事务策略

    youdao

  • Support a current transaction; create a new one if none exists. Analogous to the EJB transaction attribute of the same name.

    支持当前事务如果当前没有事务则创建一个新的事务。

    youdao

  • Interleaved transactions are enabled when a bean method's transaction attribute is set to RequiresNew in the deployment descriptor.

    bean方法事务属性部署描述符中设置RequiresNew时,可以支持交叉事务

    youdao

  • This returns true if the MDB is using container-managed transactions and the method in question has a transaction attribute of Required.

    如果MDB正在使用容器托管的事务,而且要处理方法具有Required事务属性,那么isDeliveryTransacted会返回true

    youdao

  • In addition to the rollback directives, you must also specify the transaction attribute, which defines how the transaction should behave.

    除了指令之外必须指定事务属性定义事务的行为。

    youdao

  • The EJB container starts a global transaction when the EJB methods are configured with the Required or RequiresNew transaction attribute.

    使用RequiredRequiresNew事务属性配置EJB方法时,EJB容器就启动一个全局事务。

    youdao

  • If you use the Never transaction attribute and receive an exception when invoking the method in question, you know a transaction was present.

    如果调用相应的方法使用Never事务属性并且接收到了一个异常知道事务已经呈现。

    youdao

  • The semantics of the REQUIRED transaction attribute are the same as in J2EE, meaning that the method will always execute within a transaction.

    REQUIRED事务属性语义J2EE相同,这意味着方法始终事务中执行

    youdao

  • On the other hand, if the MDB specifies a transaction attribute of "Required," then XA should be enabled for its connection-factory-jndi-name.

    一方面,如果MDB指定事务属性Required”,应该connection - factory - jndi- name启用XA

    youdao

  • The NotSupported transaction attribute specifies that the method being called will not use or start a transaction, regardless if one is present.

    NotSupported事务属性指定调用方法使用启动事务,无论是否呈现了事务。

    youdao

  • If the transaction attribute takes the other allowed value of NotSupported, or the MDB is using bean-managed transactions, then it returns false.

    如果事务属性采用NotSupported允许其他或者MDB正在使用bean托管事务返回false。

    youdao

  • The REQUIRES_NEW transaction attribute always starts a new transaction when the method is started, whether or not an existing transaction is present.

    REQUIRES_NEW事务属性总是会在启动方法启动一个新的事务。

    youdao

  • For each of the transaction strategies I'll cover in subsequent articles in this series, I'll discuss use of this transaction attribute in more detail.

    对于系列后续文章将要讨论事务策略更加详细地阐述这个事务属性

    youdao

  • The transaction attribute can be specified for any session or entity bean method. The following attributes are defined in the EJB 2.1 specification.

    可以任何会话实体bean方法指定事务属性

    youdao

  • Second, and more important, if you specified a transaction attribute of Required, then the message delivered to the MDB was received as part of that transaction.

    第二也是重要如果指定事务属性Required那么传递MDB消息作为消息的一部分接收

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定