Package | Description |
---|---|
net.java.ao | |
net.java.ao.db | |
net.java.ao.schema.ddl |
Modifier and Type | Method and Description |
---|---|
protected Iterable<DDLForeignKey> |
DatabaseProvider.findForeignKeysForField(DDLTable table,
DDLField field) |
Modifier and Type | Method and Description |
---|---|
protected SQLAction |
DatabaseProvider.renderAlterTableAddKey(DDLForeignKey key)
Generates the database-specific DDL statement required to add a
foreign key to a table.
|
protected SQLAction |
DatabaseProvider.renderAlterTableDropKey(DDLForeignKey key)
Generates the database-specific DDL statement required to remove a
foreign key from a table.
|
protected String |
DatabaseProvider.renderForeignKey(DDLForeignKey key)
Renders the specified foreign key representation into the
database-specific DDL.
|
Modifier and Type | Method and Description |
---|---|
protected SQLAction |
SQLServerDatabaseProvider.renderAlterTableDropKey(DDLForeignKey key) |
protected SQLAction |
PostgreSQLDatabaseProvider.renderAlterTableDropKey(DDLForeignKey key) |
protected SQLAction |
OracleDatabaseProvider.renderAlterTableDropKey(DDLForeignKey key) |
protected SQLAction |
NuoDBDatabaseProvider.renderAlterTableDropKey(DDLForeignKey key) |
protected SQLAction |
HSQLDatabaseProvider.renderAlterTableDropKey(DDLForeignKey key) |
protected SQLAction |
H2DatabaseProvider.renderAlterTableDropKey(DDLForeignKey key) |
protected String |
NuoDBDatabaseProvider.renderForeignKey(DDLForeignKey key)
Foreign keys which reference primary table aren't supported because of a open issue and are rendered in
commentary
block.
|
Modifier and Type | Method and Description |
---|---|
DDLForeignKey[] |
DDLTable.getForeignKeys() |
DDLForeignKey |
DDLAction.getKey() |
Modifier and Type | Method and Description |
---|---|
static DDLAction |
DDLActions.newAlterAddKey(DDLForeignKey key) |
void |
DDLTable.setForeignKeys(DDLForeignKey[] foreignKeys) |
DDLActionBuilder |
DDLActionBuilder.setKey(DDLForeignKey key) |
void |
DDLAction.setKey(DDLForeignKey key) |
Copyright © 2007-2017. All Rights Reserved.