JDBC Backing Store Configuration : Configuring Backing Store Properties in the CDD Editor

Configuring Backing Store Properties in the CDD Editor
This section summarizes CDD configuration related to use of a backing store. It assumes that you are adding backing store support to an existing project configured for cache OM.
Enabling Backing Store and General Settings
For details on the following, see Cluster Tab — Cache OM — Backing Store Settings and related content in Chapter 3, CDD Configuration Procedures:
Note that the cache-aside method of database write management is enabled internally for JDBC backing store independently of any setting.
Database Connection Settings
For details on the following, see Chapter 3, CDD Configuration Procedures:
Configuring Exceptions  When backing store is enabled, you can configure individual entity types can be set to not use a backing store. To do so use the entity metadata property, hasBackingStore. See Entity-Level Configuration for Cache and Backing Store.
If a Custom Cache Configuration File is Used
If you have customized the cache configuration file, coherence-cache-config-jdbc.xml, add the following property to the cluster tab property sheet: tangosol.coherence.cacheconfig and provide the filepath and name of the custom file as the value.
To correctly enable JDBC backing store functionality, you must also update your customized file as follows. Change instances of this string:
com.tibco.be.oracle.BECoherenceOracleStore
To this string:
com.tibco.be.jdbcstore.becoherencejdbstore
In the standard cache configuration file, you would replace six instances.
Specifying Limited Cache Size
When you use a backing store you may want to use a limited size cache. Use of the limited cache properties require backing store to be used.
If you want to limit the size of the cache, set the isCacheLimited property to true.

 
be.engine.cluster.isCacheLimited=true
be.engine.limited.cache.back.size.limit=10000

 
You only need to set the size limit if you want to use a size other than the default.