Class SqlGeneratorSource

java.lang.Object
org.springframework.data.jdbc.core.convert.SqlGeneratorSource

public class SqlGeneratorSource extends Object
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 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 Dialect used by the created SqlGenerator instances. Guaranteed to be not null.