public class DialectEventDdlTranslator extends Object implements EventDdlTranslator
| Constructor and Description |
|---|
DialectEventDdlTranslator(org.hibernate.dialect.Dialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
String |
addForeignKeyDefinition(String constraintName,
String column,
String referencedTable,
String referencedColumn)
The
ALTER TABLE fragment that adds a foreign key referencing a primary key column,
starting with add constraint. |
String |
columnType(int sqlType,
int length) |
boolean |
hasDataTypeInIdentityColumn() |
String |
identityColumnDefinition() |
String |
nullableColumnDefinition() |
boolean |
supportsIdentity() |
public DialectEventDdlTranslator(org.hibernate.dialect.Dialect dialect)
public String columnType(int sqlType, int length)
columnType in interface EventDdlTranslatorpublic boolean supportsIdentity()
supportsIdentity in interface EventDdlTranslatorpublic boolean hasDataTypeInIdentityColumn()
hasDataTypeInIdentityColumn in interface EventDdlTranslatorpublic String identityColumnDefinition()
identityColumnDefinition in interface EventDdlTranslatorpublic String nullableColumnDefinition()
nullableColumnDefinition in interface EventDdlTranslatorpublic String addForeignKeyDefinition(String constraintName, String column, String referencedTable, String referencedColumn)
EventDdlTranslatorALTER TABLE fragment that adds a foreign key referencing a primary key column,
starting with add constraint.addForeignKeyDefinition in interface EventDdlTranslatorCopyright © 2026. All rights reserved.