Setting the transaction isolation level

You must set the transaction isolation level for the bean to the correct value for your development database type.

Before you begin

You have created a new CMP entity bean.

About this task

To set the transaction isolation level:

Procedure

  1. Within the Project Explorer view, expand EJB Modules.
  2. Navigate to WebSphereCommerceServerExtensionsData and double-click Deployment Descriptor:WebSphereCommerceServerExtensionsData to open the deployment descriptor for editing.
  3. Click the Access tab.
  4. Click Add next to the Isolation Level text box. The Add Isolation Level window opens.
  5. Select Read committed and click Next.
  6. From the Beans found list, select the yourNewBean bean, and click Next.
  7. From the Methods found list, select yourNewBean to select all of its methods, and click Finish.
  8. Save your work, but keep the editor open.
  9. Proceed to setting the security identity of the bean.