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, Dialect dialect) Deprecated.InsertStrategyFactory
(NamedParameterJdbcOperations jdbcOperations, Dialect dialect) -
Method Summary
-
Constructor Details
-
InsertStrategyFactory
-
InsertStrategyFactory
@Deprecated(since="3.2") public InsertStrategyFactory(NamedParameterJdbcOperations namedParameterJdbcOperations, BatchJdbcOperations batchJdbcOperations, Dialect dialect) Deprecated.since 3.2, useInsertStrategyFactory(NamedParameterJdbcOperations, Dialect)
instead.Constructor with additionalBatchJdbcOperations
constructor.
-
InsertStrategyFactory(NamedParameterJdbcOperations, Dialect)
instead.