Interface SqlDialectFactory

  • All Known Implementing Classes:

    public interface SqlDialectFactory
    Creates a SqlDialect appropriate for a given database metadata object.
    • Method Detail

      • create

        SqlDialect create​(java.sql.DatabaseMetaData databaseMetaData)
        Creates a SqlDialect from a DatabaseMetaData.

        Does not maintain a reference to the DatabaseMetaData -- or, more importantly, to its Connection -- after this call has returned.

        databaseMetaData - used to determine which dialect of SQL to generate
        java.lang.RuntimeException - if there was an error creating the dialect