To make the application work, simply configure the data source reference of Customer BMP EJB with the REPEATABLE_READ transaction isolation level.
要让应用程序工作,只需用REPEATABLE_READ事务隔离级别来配置CustomerBMPEJB的数据源引用。
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.
isolation:JPA 1.0不支持自定义隔离级别,因此开发人员需要指定数据库端的默认事务隔离级别。
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.
遵循为数据源引用设置事务隔离级别中的步骤将事务隔离级别更改为REPEATABLE_READ,然后再次运行该应用程序。
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.
因为EJB的事务隔离级别是在部署描述符中设置的,所以具有不同事务隔离级别的不同应用程序可以重用同一个EJB。
The change happens on the database, so WebSphere is not aware that it changed and might not reset the transaction isolation level the next time the connection is retrieved from the pool.
更改发生在数据库上,所以WebSphere不知道已经发生了更改,而且在下一次从池中检索连接时可能无法重置事务隔离级别。
The lower-level technique involves starting the transaction at the lowest possible layer in the architecture while still being able to maintain atomicity and isolation of the update operations.
低级(lower - level)技巧涉及在体系结构中尽可能低的层启动事务,同时仍然能够更新操作的原子性和隔离。
The transaction-attr, isolation-level, run-as-mode, and re-entrant are taken directly from Sun_s XML EJB deployment descriptor format.
transaction - attr、isolation - level、run - as - mode和re - entrant直接取自sun的XMLEJB部署描述符格式。
The transaction-attr, isolation-level, run-as-mode, and re-entrant are taken directly from Sun_s XML EJB deployment descriptor format.
transaction - attr、isolation - level、run - as - mode和re - entrant直接取自sun的XMLEJB部署描述符格式。
应用推荐