| Modifier and Type | Class and Description |
|---|---|
| public 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 |
|---|---|
| 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.Defines a simple precedence. |
| public default 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 default String[] | Returns: the SQL strings for creating the database object.The dialect for which to generate the SQL creation strings dialect)
Deprecated
Hibernate ORM may never call this method,
and implementations cannot properly handle default catalogs/schemas.
Gets the SQL strings for creating the database object.
|
| public default 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. |
| public default String[] | Returns: the SQL strings for dropping the database object.The dialect for which to generate the SQL drop strings dialect)
Deprecated
Hibernate ORM may never call this method,
and implementations cannot properly handle default catalogs/schemas.
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? If
| |
| sqlCreateStrings | back to summary |
|---|---|
| public default String[] sqlCreateStrings(SqlStringGenerationContext context) Gets the SQL strings for creating the database object.
| |
| sqlCreateStrings | back to summary |
|---|---|
| public default String[] sqlCreateStrings(Dialect dialect)
Deprecated Hibernate ORM may never call this method,
and implementations cannot properly handle default catalogs/schemas.
Call/implement Gets the SQL strings for creating the database object. | |
| sqlDropStrings | back to summary |
|---|---|
| public default String[] sqlDropStrings(SqlStringGenerationContext context) Gets the SQL strings for dropping the database object.
| |
| sqlDropStrings | back to summary |
|---|---|
| public default String[] sqlDropStrings(Dialect dialect)
Deprecated Hibernate ORM may never call this method,
and implementations cannot properly handle default catalogs/schemas.
Call/implement Gets the SQL strings for dropping the database object. | |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| addDialectScope | back to summary |
|---|---|
| public void addDialectScope(String dialectName) | |