Interface HibernateDatabaseCapabilities
-
- All Known Implementing Classes:
ConfluenceHibernateConfig
,HibernateDatabaseCapabilities.HibernateConfigAdapter
public interface HibernateDatabaseCapabilities
Exposes information about the capabilities and types of the dtabase being used by Hibernate.- Since:
- 7.20
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
HibernateDatabaseCapabilities.HibernateConfigAdapter
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static HibernateDatabaseCapabilities
from(com.atlassian.config.db.HibernateConfig config)
Adapt aHibernateConfig
into a HibernateDatabaseCapabilities.boolean
isH2()
boolean
isHSQL()
boolean
isMySql()
boolean
isOracle()
boolean
isPostgreSql()
boolean
isSqlServer()
default boolean
supportsIdentityColumns()
default boolean
supportsSequences()
boolean
uniqueAllowsAnyNullValues()
boolean
uniqueAllowsMultipleNullValues()
-
-
-
Method Detail
-
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()
-
supportsSequences
default boolean supportsSequences()
-
from
static HibernateDatabaseCapabilities from(com.atlassian.config.db.HibernateConfig config)
Adapt aHibernateConfig
into a HibernateDatabaseCapabilities.
-
-