public interface AuxiliaryDatabaseObject extends Exportable, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
AuxiliaryDatabaseObject.Expandable
Additional, optional interface for AuxiliaryDatabaseObject that want to allow
expansion of allowable dialects via mapping.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesToDialect(Dialect dialect)
Does this database object apply to the given dialect?
|
boolean |
beforeTablesOnCreation()
Defines a simple precedence.
|
default String[] |
sqlCreateStrings(Dialect dialect)
Deprecated.
Implement
sqlCreateStrings(SqlStringGenerationContext) instead. |
default String[] |
sqlCreateStrings(SqlStringGenerationContext context)
Gets the SQL strings for creating the database object.
|
default String[] |
sqlDropStrings(Dialect dialect)
Deprecated.
Implement
sqlDropStrings(SqlStringGenerationContext) instead. |
default String[] |
sqlDropStrings(SqlStringGenerationContext context)
Gets the SQL strings for dropping the database object.
|
getExportIdentifierboolean appliesToDialect(Dialect dialect)
dialect - The dialect to check against.boolean beforeTablesOnCreation()
true, the auxiliary object creation will happen after any explicit schema creations
but before table/sequence creations; if false, the auxiliary object creation will happen after
explicit schema creations and after table/sequence creations.
This precedence is automatically inverted for dropping.true indicates this object should be created before tables; false indicates
it should be created after.default String[] sqlCreateStrings(SqlStringGenerationContext context)
context - A context to help generate the SQL creation strings@Deprecated default String[] sqlCreateStrings(Dialect dialect)
sqlCreateStrings(SqlStringGenerationContext) instead.dialect - The dialect for which to generate the SQL creation stringsdefault String[] sqlDropStrings(SqlStringGenerationContext context)
context - A context to help generate the SQL drop strings@Deprecated default String[] sqlDropStrings(Dialect dialect)
sqlDropStrings(SqlStringGenerationContext) instead.dialect - The dialect for which to generate the SQL drop stringsCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.