Set the run time for batched commands with the assembly tools

 

Procedure

  1. Start the Application Server Toolkit.

  2. On the Project Explorer tab, click EJB Modules > project > ejbModule > META-INF > ejb-jar.xml The EJB Deployment Descriptor window appears.

  3. Select the Access tab. The Add Access Intent window appears. There are two areas of the panel that deal with adding access intent:

    • Default Access Intent for Entities 2.x (Bean Level)

    • Access Intent for Entities 2.x (Method Level)

  4. Select the Bean or Method level. Another access intent window appears where one can set the properties you wish to use.

  5. Use the dropdown list to select the Access intent name.

  6. Optional: Enter a description.

  7. Check the Persistence Option box.

  8. Check the Deferred Operation box.

  9. Use the dropdown list to select All for deferred operation. You must select All to use the batch option.

  10. Check the Batch box. This operation uses the JDBC batch command to insert, update, or delete rows in the database backend that this particular enterprise bean is connected to.

  11. Select Finish.


 

See Also


EJB modules