Class Database
java.lang.Object
org.hibernate.boot.model.relational.Database
-
Constructor Summary
ConstructorsConstructorDescriptionDatabase
(MetadataBuildingOptions buildingOptions) Database
(MetadataBuildingOptions buildingOptions, JdbcEnvironment jdbcEnvironment) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuxiliaryDatabaseObject
(AuxiliaryDatabaseObject auxiliaryDatabaseObject) void
addInitCommand
(InitCommand initCommand) adjustDefaultNamespace
(String implicitCatalogName, String implicitSchemaName) adjustDefaultNamespace
(Identifier catalogName, Identifier schemaName) @Nullable Namespace
findNamespace
(Identifier catalogName, Identifier schemaName) locateNamespace
(Identifier catalogName, Identifier schemaName) toIdentifier
(String text) Wrap the raw name of a database object in its Identifier form accounting for quoting from any of: explicit quoting in the name itself global request to quote all identifiers
-
Constructor Details
-
Database
-
Database
-
-
Method Details
-
getDialect
-
getJdbcEnvironment
-
toIdentifier
Wrap the raw name of a database object in its Identifier form accounting for quoting from any of:- explicit quoting in the name itself
- global request to quote all identifiers
- Parameters:
text
- The raw object name- Returns:
- The wrapped Identifier form
- Implementation Note:
- Quoting from database keywords happens only when building physical identifiers.
-
getPhysicalNamingStrategy
-
getNamespaces
-
getDefaultNamespace
- Returns:
- The default namespace, with a
null
catalog and schema which will have to be interpreted with defaults at runtime. - See Also:
-
getPhysicalImplicitNamespaceName
- Returns:
- The implicit name of the default namespace, with a
null
catalog and schema which will have to be interpreted with defaults at runtime. - See Also:
-
findNamespace
-
locateNamespace
-
adjustDefaultNamespace
-
adjustDefaultNamespace
-
addAuxiliaryDatabaseObject
-
getAuxiliaryDatabaseObjects
-
getInitCommands
-
addInitCommand
-
getServiceRegistry
-
getTypeConfiguration
-