create and drop statements in the mapping metadata.
This SPI allows Hibernate to export and clean up these objects along with the rest of the schema.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | AuxiliaryDatabaseObject.Expandable
Additional, optional interface for |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: True if this database object does apply to the given dialect.The dialect to check against. dialect)Does this database object apply to the given dialect? |
| public boolean | Returns: true indicates this object should be created before tables;
false indicates it should be created after tables.Defines a simple precedence. |
| public String[] | Returns: the SQL strings for creating the database object.A context to help generate the SQL creation strings context)Gets the SQL strings for creating the database object. |
| public String[] | Returns: the SQL strings for dropping the database object.A context to help generate the SQL drop strings context)Gets the SQL strings for dropping the database object. |
| appliesToDialect | back to summary |
|---|---|
| public boolean appliesToDialect(Dialect dialect) Does this database object apply to the given dialect?
| |
| beforeTablesOnCreation | back to summary |
|---|---|
| public boolean beforeTablesOnCreation() Defines a simple precedence. Should creation of this auxiliary object happen before creation of tables?
This precedence is automatically inverted for when the schema is dropped.
| |
| sqlCreateStrings | back to summary |
|---|---|
| public String[] sqlCreateStrings(SqlStringGenerationContext context) Gets the SQL strings for creating the database object.
| |
| sqlDropStrings | back to summary |
|---|---|
| public String[] sqlDropStrings(SqlStringGenerationContext context) Gets the SQL strings for dropping the database object.
| |
AuxiliaryDatabaseObjects
that want to allow expansion of allowable dialects via mapping.
| Modifier and Type | Method and Description |
|---|---|
| public void |
| addDialectScope | back to summary |
|---|---|
| public void addDialectScope(String dialectName) | |