Interface DatabaseIdProvider

  • All Known Implementing Classes:
    DefaultDatabaseIdProvider, VendorDatabaseIdProvider

    public interface DatabaseIdProvider
    Should return an id to identify the type of this database. That id can be used later on to build different queries for each database type This mechanism enables supporting multiple vendors or versions
    Author:
    Eduardo Macarron
    • Method Detail

      • setProperties

        default void setProperties​(java.util.Properties p)
      • getDatabaseId

        java.lang.String getDatabaseId​(javax.sql.DataSource dataSource)
                                throws java.sql.SQLException
        Throws:
        java.sql.SQLException