.tableNamePrefix("STRINGS_")
.idColumnName("id").idColumnType("VARCHAR")
.dataColumnName("datum").dataColumnType("BINARY")
.timestampColumnName("version").timestampColumnType("BIGINT");
Configuration configuration = b.build();
JdbcMixedStoreConfiguration store = (JdbcMixedStoreConfiguration) configuration.persistence().stores().get(0);
assert store.connectionFactory() instanceof PooledConnectionFactoryConfiguration;
assert ((PooledConnectionFactoryConfiguration)store.connectionFactory()).connectionUrl().equals(JDBC_URL);
assert store.binaryTable().tableNamePrefix().equals("BINARY_");
assert store.binaryTable().idColumnName().equals("id");
assert store.binaryTable().idColumnType().equals("VARCHAR");
assert store.binaryTable().dataColumnName().equals("datum");
assert store.binaryTable().dataColumnType().equals("BINARY");
assert store.binaryTable().timestampColumnName().equals("version");
assert store.binaryTable().timestampColumnType().equals("BIGINT");
assert store.stringTable().tableNamePrefix().equals("STRINGS_");
assert store.stringTable().idColumnName().equals("id");
assert store.stringTable().idColumnType().equals("VARCHAR");
assert store.stringTable().dataColumnName().equals("datum");
assert store.stringTable().dataColumnType().equals("BINARY");
assert store.stringTable().timestampColumnName().equals("version");
assert store.stringTable().timestampColumnType().equals("BIGINT");
assert store.batchSize() == 50;
assert store.fetchSize() == 50;
assert store.databaseType() == DatabaseType.H2;
assert store.fetchPersistentState();
assert store.lockConcurrencyLevel() == 32;
assert store.async().enabled();
b = new ConfigurationBuilder();
b.persistence().addStore(JdbcMixedStoreConfigurationBuilder.class).read(store);
Configuration configuration2 = b.build();
JdbcMixedStoreConfiguration store2 = (JdbcMixedStoreConfiguration) configuration2.persistence().stores().get(0);
assert store2.connectionFactory() instanceof PooledConnectionFactoryConfiguration;
assert ((PooledConnectionFactoryConfiguration)store2.connectionFactory()).connectionUrl().equals(JDBC_URL);
assert store2.binaryTable().idColumnName().equals("id");
assert store2.binaryTable().idColumnType().equals("VARCHAR");
assert store2.binaryTable().dataColumnName().equals("datum");