Set the transaction isolation level

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

Prerequisite You have created a new CMP entity bean.

To set the transaction isolation level:

  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.


Previous topic:

Create a new CMP entity bean
Next topic:

Set the security identity of the bean

Related tasks

Create new entity beans