禁用特定 Bean 上的 custom finder 的 custom finder SQL 动态增强
通过修改应用程序的 EAR 文件,可禁用对针对特定 Bean 定义的所有 custom finder 的支持。
关于此任务
过程
- 启动您选择的 Java™ Platform, Enterprise Edition (Java EE) 应用程序开发环境。
- 创建或编辑需要此支持的应用程序 EAR 文件。
- 检查名为 com.ibm.websphere.persistence.bean.managed.custom.finder.access.intent 的环境变量的值是否为 true。 如果该变量还不存在,将它添加到 EAR 文件。
- 确保目标服务器上的服务器范围设置 com.ibm.websphere.ejbcontainer.customfinder.honorAccessIntent 是正确的。
- 部署和安装应用程序。