return stringTable;
}
@Override
public JdbcMixedCacheStoreConfig adapt() {
JdbcMixedCacheStoreConfig config = new JdbcMixedCacheStoreConfig();
// StoreConfiguration
config.fetchPersistentState(fetchPersistentState());
config.ignoreModifications(ignoreModifications());
config.purgeOnStartup(purgeOnStartup());
config.purgeSynchronously(purgeSynchronously());
config.purgerThreads(purgerThreads());
// LockSupportCacheStoreConfiguration
config.setLockAcquistionTimeout(lockAcquistionTimeout());
config.setLockConcurrencyLevel(lockConcurrencyLevel());
// AbstractJdbcCacheStoreConfiguration
config.setConnectionFactoryClass(connectionFactoryClass());
config.setConnectionUrl(connectionUrl());
config.setDatasourceJndiLocation(datasource());
config.setDriverClass(driverClass());
config.setUserName(userName());
config.setPassword(password());
// JdbcStringBasedCacheStoreConfiguration
config.setKey2StringMapperClass(key2StringMapper);
// TableManipulation
config.setCreateTableOnStartForBinary(binaryTable().createOnStart());
config.setDropTableOnExitForBinary(binaryTable().dropOnExit());
config.setTableNamePrefixForBinary(binaryTable().tableNamePrefix());
config.setDataColumnNameForBinary(binaryTable().dataColumnName());
config.setDataColumnTypeForBinary(binaryTable().dataColumnType());
config.setIdColumnNameForBinary(binaryTable().idColumnName());
config.setIdColumnTypeForBinary(binaryTable().idColumnType());
config.setTimestampColumnNameForBinary(binaryTable().timestampColumnName());
config.setTimestampColumnTypeForBinary(binaryTable().timestampColumnType());
config.setCreateTableOnStartForStrings(stringTable().createOnStart());
config.setDropTableOnExitForStrings(stringTable().dropOnExit());
config.setTableNamePrefixForStrings(stringTable().tableNamePrefix());
config.setDataColumnNameForStrings(stringTable().dataColumnName());
config.setDataColumnTypeForStrings(stringTable().dataColumnType());
config.setIdColumnNameForStrings(stringTable().idColumnName());
config.setIdColumnTypeForStrings(stringTable().idColumnType());
config.setTimestampColumnNameForStrings(stringTable().timestampColumnName());
config.setTimestampColumnTypeForStrings(stringTable().timestampColumnType());
return config;
}