インタフェースの使用
org.nkjmlab.sorm4j.extension.Configurator
-
Configuratorを使用しているパッケージ パッケージ 説明 org.nkjmlab.sorm4j Provides the main API for Sorm4j.org.nkjmlab.sorm4j.extension Provides API for configurable part of Sorm4j. -
-
org.nkjmlab.sorm4jでのConfiguratorの使用
Configurator型の型引数を持つorg.nkjmlab.sorm4jのメソッド・パラメータ 修飾子とタイプ メソッド 説明 static voidSormFactory. registerConfig(String configName, Consumer<Configurator> configuratorConsumer)Registers configuration under the given name.static voidSormFactory. registerModifiedConfig(String srcConfigName, String newConfigName, Consumer<Configurator> configuratorConsumer)Registers modified configuration of the given Sorm object under the given name.static voidSormFactory. updateDefaultConfig(Consumer<Configurator> configuratorConsumer)Updates default configuration. -
org.nkjmlab.sorm4j.extensionでのConfiguratorの使用
Configuratorを返すorg.nkjmlab.sorm4j.extensionのメソッド 修飾子とタイプ メソッド 説明 ConfiguratorConfigurator. setBatchSize(int size)Sets batch size for processing simple batch.ConfiguratorConfigurator. setBatchSizeWithMultiRow(int size)Set batch size for processing batch with multirow.ConfiguratorConfigurator. setColumnFieldMapper(ColumnFieldMapper columnFieldMapper)SetsColumnFieldMapper.ConfiguratorConfigurator. setMultiRowProcessorType(Configurator.MultiRowProcessorType multiRowProcessorType)Sets multi-row processor type.ConfiguratorConfigurator. setMultiRowSize(int size)Sets multi-row size for in a SQL statement.ConfiguratorConfigurator. setOption(String name, Object value)Sets a option.ConfiguratorConfigurator. setResultSetConverter(ResultSetConverter resultSetConverter)SetsResultSetConverterConfiguratorConfigurator. setSqlParametersSetter(SqlParametersSetter sqlParametersSetter)SetsSqlParametersSetterConfiguratorConfigurator. setTableNameMapper(TableNameMapper tableNameMapper)SetsTableNameMapperConfiguratorConfigurator. setTransactionIsolationLevel(int level)Sets transaction isolation level.
-