Class SqlGeneratorSource
java.lang.Object
org.springframework.data.jdbc.core.convert.SqlGeneratorSource
Provides
SqlGenerator
s 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
ConstructorDescriptionSqlGeneratorSource
(RelationalMappingContext context, JdbcConverter converter, Dialect dialect) -
Method Summary
-
Constructor Details
-
SqlGeneratorSource
public SqlGeneratorSource(RelationalMappingContext context, JdbcConverter converter, Dialect dialect)
-
-
Method Details
-
getDialect
- Returns:
- the
Dialect
used by the createdSqlGenerator
instances. Guaranteed to be not null.
-