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.
|
String[] |
sqlCreateStrings(Dialect dialect)
Gets the SQL strings for creating the database object.
|
String[] |
sqlDropStrings(Dialect dialect)
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.String[] sqlCreateStrings(Dialect dialect)
dialect - The dialect for which to generate the SQL creation stringsCopyright © 2016 JBoss by Red Hat. All rights reserved.