public class ConfigurationBuilder extends Object
Configuration
instance for use with the EntityDataStore
.Configuration
Constructor and Description |
---|
ConfigurationBuilder(CommonDataSource dataSource,
EntityModel model) |
ConfigurationBuilder(ConnectionProvider connectionProvider,
EntityModel model) |
public ConfigurationBuilder(ConnectionProvider connectionProvider, EntityModel model)
public ConfigurationBuilder(CommonDataSource dataSource, EntityModel model)
public ConfigurationBuilder setMapping(Mapping mapping)
public ConfigurationBuilder setPlatform(Platform platform)
public ConfigurationBuilder setEntityCache(EntityCache cache)
public ConfigurationBuilder setStatementCacheSize(int size)
public ConfigurationBuilder setBatchUpdateSize(int size)
public ConfigurationBuilder setQuoteTableNames(boolean quote)
public ConfigurationBuilder setTableTransformer(Function<String,String> function)
public ConfigurationBuilder setColumnTransformer(Function<String,String> function)
public ConfigurationBuilder setQuoteColumnNames(boolean quote)
public ConfigurationBuilder setWriteExecutor(Executor writeExecutor)
public ConfigurationBuilder addStatementListener(StatementListener listener)
public ConfigurationBuilder addTransactionListenerFactory(Supplier<TransactionListener> supplier)
public ConfigurationBuilder useDefaultLogging()
public ConfigurationBuilder addEntityStateListener(EntityStateListener listener)
public ConfigurationBuilder setTransactionIsolation(TransactionIsolation isolation)
public ConfigurationBuilder setTransactionMode(TransactionMode mode)
public Configuration build()