Disabling custom finder SQL dynamic enhancement for custom finders on a specific bean

You can disable support for all custom finders defined on a specific bean by modifying your application's EAR file.

About this task

To disable this support for all custom finders defined on a specific bean, assuming that the server-wide support is enabled, follow these steps.

Procedure

  1. Start a Java™ Platform, Enterprise Edition (Java EE) application development environment of your choice.
  2. Create or edit the application EAR file needing this support.
  3. Check for an environmental variable called com.ibm.websphere.persistence.bean.managed.custom.finder.access.intent with a value of true. If the variable does not already exist, add it to the EAR file.
  4. Ensure that the server-wide setting com.ibm.websphere.ejbcontainer.customfinder.honorAccessIntent is in place on the target server.
  5. Deploy and install the application.

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: March 5, 2017 17:27
File name: tdat_sqllock4.html