BigMemory Max 4.3.5 | Product Documentation | BigMemory Max Integrations | Using BigMemory Max with Hibernate | Performance Tips
 
Performance Tips
Session.load
Session.load will always try to use the cache.
Session.find and Query.find
Session.find does not use the cache for the primary object. Hibernate will try to use the cache for any associated objects. Session.find does, however, cause the cache to be populated. Query.find works in exactly the same way. Use these where the chance of getting a cache hit is low.
Session.iterate and Query.iterate
Session.iterate always uses the cache for the primary object and any associated objects. Query.iterate works in exactly the same way. Use these where the chance of getting a cache hit is high.

Copyright © 2010 - 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release