Created
August 30, 2012 16:07
-
-
Save tristantarrant/3531890 to your computer and use it in GitHub Desktop.
Infinispan 5.1 JDBC cache loader XML configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <loaders> | |
| <loader class="org.infinispan.loaders.jdbc.stringbased.JdbcStringBasedCacheStore" | |
| fetchPersistentState="false" ignoreModifications="false" | |
| purgeOnStartup="false"> | |
| <properties> | |
| <property name="stringsTableNamePrefix" value="ISPN_STRING_TABLE"/> | |
| <property name="idColumnName" value="ID_COLUMN"/> | |
| <property name="dataColumnName" value="DATA_COLUMN"/> | |
| <property name="timestampColumnName" value="TIMESTAMP_COLUMN"/> | |
| <property name="timestampColumnType" value="BIGINT"/> | |
| <property name="connectionFactoryClass" | |
| value="org.infinispan.loaders.jdbc.connectionfactory.PooledConnectionFactory"/> | |
| <property name="connectionUrl" | |
| value="jdbc:h2:mem:string_based_db;DB_CLOSE_DELAY=-1"/> | |
| <property name="userName" value="sa"/> | |
| <property name="driverClass" value="org.h2.Driver"/> | |
| <property name="idColumnType" value="VARCHAR(255)"/> | |
| <property name="dataColumnType" value="BINARY"/> | |
| <property name="dropTableOnExit" value="true"/> | |
| <property name="createTableOnStart" value="true"/> | |
| </properties> | |
| </loader> | |
| </loaders> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment