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(org.springframework.data.relational.core.mapping.RelationalMappingContext context, JdbcConverter converter, org.springframework.data.relational.core.dialect.Dialect dialect) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.relational.core.dialect.Dialect
-
Constructor Details
-
SqlGeneratorSource
public SqlGeneratorSource(org.springframework.data.relational.core.mapping.RelationalMappingContext context, JdbcConverter converter, org.springframework.data.relational.core.dialect.Dialect dialect)
-
-
Method Details
-
getDialect
public org.springframework.data.relational.core.dialect.Dialect getDialect()- Returns:
- the
Dialectused by the createdSqlGeneratorinstances. Guaranteed to be not null.
-