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:
- Within the Project Explorer view, expand EJB Modules.
- Navigate to WebSphereCommerceServerExtensionsData and double-click Deployment Descriptor:WebSphereCommerceServerExtensionsData to open the deployment descriptor for editing.
- Click the Access tab.
- Click Add next to the Isolation Level text box. The Add Isolation Level window opens.
- Select Read committed and click Next.
- From the Beans found list, select the yourNewBean bean, and click Next.
- From the Methods found list, select yourNewBean to select all of its methods, and click Finish.
- Save your work, but keep the editor open.
- 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