BigMemory
4.4.0 |
Product Documentation
|
BigMemory Go Integrations
|
Using BigMemory Go with Hibernate
|
About Using BigMemory Go with Hibernate
About Using
BigMemory Go
with Hibernate
BigMemory Go
easily integrates with the Hibernate Object/Relational persistence and query service. To configure
BigMemory Go
for Hibernate:
Download and install
BigMemory Go
in your project as described in
Downloading and Installing BigMemory Go for Hibernate
.
Configure
BigMemory Go
as a cache provider in your project's Hibernate configuration as described in
Configuring BigMemory Go 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/
.