if (config.isManageConnectionFactory()) {
ConnectionFactory factory = ConnectionFactory.getConnectionFactory(connectionFactoryClass);
factory.start(config.getConnectionFactoryConfig());
doConnectionFactoryInitialization(factory);
}
dmHelper = new DataManipulationHelper(connectionFactory, tableManipulation, marshaller) {
@Override
public void loadAllProcess(ResultSet rs, Set<InternalCacheEntry> result) throws SQLException, CacheLoaderException {
InputStream binaryStream = rs.getBinaryStream(1);
Bucket bucket = (Bucket) JdbcUtil.unmarshall(getMarshaller(), binaryStream);
for (InternalCacheEntry ice: bucket.getStoredEntries()) {