Module spring.data.jdbc
Class InsertStrategyFactory
java.lang.Object
org.springframework.data.jdbc.core.convert.InsertStrategyFactory
Factory which selects and builds the appropriate
InsertStrategy or BatchInsertStrategy based on
whether the insert is expected to generate ids.- Since:
- 2.4
- Author:
- Chirag Tailor, Jens Schauder
-
Constructor Summary
ConstructorsConstructorDescriptionInsertStrategyFactory(NamedParameterJdbcOperations namedParameterJdbcOperations, BatchJdbcOperations batchJdbcOperations, org.springframework.data.relational.core.dialect.Dialect dialect) Deprecated.InsertStrategyFactory(NamedParameterJdbcOperations jdbcOperations, org.springframework.data.relational.core.dialect.Dialect dialect) -
Method Summary
-
Constructor Details
-
InsertStrategyFactory
public InsertStrategyFactory(NamedParameterJdbcOperations jdbcOperations, org.springframework.data.relational.core.dialect.Dialect dialect) -
InsertStrategyFactory
@Deprecated(since="3.2") public InsertStrategyFactory(NamedParameterJdbcOperations namedParameterJdbcOperations, BatchJdbcOperations batchJdbcOperations, org.springframework.data.relational.core.dialect.Dialect dialect) Deprecated.since 3.2, useInsertStrategyFactory(NamedParameterJdbcOperations, Dialect)instead.Constructor with additionalBatchJdbcOperationsconstructor.
-
InsertStrategyFactory(NamedParameterJdbcOperations, Dialect)instead.