确定这是否适合您的需要,还要考虑您为事务定义的范围(和隔离级别)将如何影响整体并发需求。
Determine if this is appropriate for your needs, and also consider how the scope (and isolation level) you define for your transactions can impact overall concurrency requirements.
开发了EJB后,程序员必须设置定义各种特征(如ejb的事务支持和隔离级别)的部署描述符。
After developing an EJB, the programmer must set deployment descriptors that define characteristics, such as transaction support and isolation levels for the EJB.
虽然示例中使用的资源适配器不响应J2EE事务性隔离级别设置的变化,但是某些围绕关系数据库系统构建的EIS确实可能会受到影响。
Although resource adapters used in the example do not respond to changes in J2EE transactional isolation level Settings, some EISs built around relational database systems may be affected.
要让应用程序工作,只需用REPEATABLE_READ事务隔离级别来配置CustomerBMPEJB的数据源引用。
To make the application work, simply configure the data source reference of Customer BMP EJB with the REPEATABLE_READ transaction isolation level.
遵循为数据源引用设置事务隔离级别中的步骤将事务隔离级别更改为REPEATABLE_READ,然后再次运行该应用程序。
Follow the steps in transaction isolation level setting for a data source reference to change the transaction isolation level to REPEATABLE_READ, and run the application again.
因为EJB的事务隔离级别是在部署描述符中设置的,所以具有不同事务隔离级别的不同应用程序可以重用同一个EJB。
Because the EJB's transaction isolation level is set in its deployment descriptor, the same EJB could be reused in different applications with different transaction isolation levels.
isolation:JPA 1.0不支持自定义隔离级别,因此开发人员需要指定数据库端的默认事务隔离级别。
Isolation: JPA 1.0 doesn't support custom isolation levels, so developers are required to specify the default transaction isolation level on the database side.
新的CurrentlyCommitted隔离级别在处理写者事务的同时,允许系统中的其他读者事务读取数据。
The new Currently Committed isolation level allows writer transactions to continue processing while the other reader transactions within the system get their data.
新的CurrentlyCommitted隔离级别在处理写者事务的同时,允许系统中的其他读者事务读取数据。
The new Currently Committed isolation level allows writer transactions to continue processing while the other reader transactions within the system get their data.
应用推荐