Class SqlGeneratorSource
java.lang.Object
org.springframework.data.jdbc.core.convert.SqlGeneratorSource
Provides
SqlGenerators per domain type. Instances get cached, so when asked multiple times for the same
domain type, the same generator will get returned.- Author:
- Jens Schauder, Mark Paluch, Milan Milanov
-
Constructor Summary
ConstructorsConstructorDescriptionSqlGeneratorSource(JdbcConverter converter, Dialect dialect) SqlGeneratorSource(RelationalMappingContext context, JdbcConverter converter, Dialect dialect) -
Method Summary
-
Constructor Details
-
SqlGeneratorSource
- Parameters:
converter- must not be null.dialect- must not be null.- Since:
- 4.0
-
SqlGeneratorSource
public SqlGeneratorSource(RelationalMappingContext context, JdbcConverter converter, Dialect dialect)
-
-
Method Details
-
getDialect
- Returns:
- the
Dialectused by the createdSqlGeneratorinstances. Guaranteed to be not null.
-
getSqlGenerator
-