BigMemory 4.3.10 | Product Documentation | BigMemory Max Integrations | Using BigMemory Max with Hibernate | About Using BigMemory Max with Hibernate
 
About Using BigMemory Max with Hibernate
BigMemory Max easily integrates with the Hibernate Object/Relational persistence and query service. To configure BigMemory Max for Hibernate:
*Download and install BigMemory Max in your project as described in Downloading and Installing BigMemory Max for Hibernate.
*Configure BigMemory Max as a cache provider in your project's Hibernate configuration as described in Configuring BigMemory Max as the Second-Level Cache Provider.
*Enable second-level caching in your project's Hibernate configuration as described in Enabling Second-Level Cache and Query Cache Settings.
*Configure Hibernate caching for each entity, collection, or query that you want to cache as described in Configuring Hibernate Entities to use Second-Level Caching.
*Configure the ehcache.xml file for each entity, collection, or query configured for caching as described in Configuring ehcache.xml Settings.
For additional information about cache configuration in Hibernate, see the Hibernate product documentation at http://www.hibernate.org/.