Interface HibernateDatabaseCapabilities

All Known Implementing Classes:
ConfluenceHibernateConfig, HibernateDatabaseCapabilities.HibernateConfigAdapter

public interface HibernateDatabaseCapabilities
Exposes information about the capabilities and types of the database being used by Hibernate.
Since:
7.13.17
  • Method Details

    • isPostgreSql

      boolean isPostgreSql()
    • isHSQL

      boolean isHSQL()
    • isH2

      boolean isH2()
    • isOracle

      boolean isOracle()
    • isSqlServer

      boolean isSqlServer()
    • isMySql

      boolean isMySql()
    • uniqueAllowsAnyNullValues

      boolean uniqueAllowsAnyNullValues()
    • uniqueAllowsMultipleNullValues

      boolean uniqueAllowsMultipleNullValues()
    • supportsIdentityColumns

      default boolean supportsIdentityColumns()
      Since:
      7.13.17
    • supportsSequences

      default boolean supportsSequences()
      Since:
      7.13.17
    • from

      static HibernateDatabaseCapabilities from(com.atlassian.config.db.HibernateConfig config)
      Adapt a HibernateConfig into a HibernateDatabaseCapabilities.