インタフェースの使用
org.nkjmlab.sorm4j.Configurator
-
Configuratorを使用しているパッケージ パッケージ 説明 org.nkjmlab.sorm4j Provides the main API for Sorm4j. -
-
org.nkjmlab.sorm4jでのConfiguratorの使用
Configuratorを返すorg.nkjmlab.sorm4jのメソッド 修飾子とタイプ メソッド 説明 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. setResultSetConverter(ResultSetConverter resultSetConverter)SetsResultSetConverterConfiguratorConfigurator. setSqlParameterSetter(SqlParameterSetter sqlParameterSetter)SetsSqlParameterSetterConfiguratorConfigurator. setTableNameMapper(TableNameMapper tableNameMapper)SetsTableNameMapperConfiguratorConfigurator. setTransactionIsolationLevel(int level)Sets transaction isolation level.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.
-