Query caching

EAServer 5.x query caching settings are not automatically migrated to EAServer 6.0. If query caching in EAServer 5.x is detected, a warning message is printed in the deployment and migration logs, similar to:

2006-06-02 07:55:51.803 WARN  main [EjbCompiler] query findByPrimaryKey in EJB BusinessStatus used Query Caching in 5.x,  manual migration is required to setup Query Caching for this Query in 6.0.

You must manually set these three attributes for the queryMethod in the ejbjar-config file to enable query caching:

For more information, see the QueryMethodProperty class documentation, which is available from the Web Management Console at http://hostname:8000/javadocs/public/index.html. Where hostname is the name of the host on which your EAServer 6.0 installation resides.

NoteEAServer 5.x supports named caches, while EAServer 6.0 does not. In EAServer 6.0, you must specify the cache properties for each query.