| Package | Description |
|---|---|
| org.apache.ddlutils |
This package mainly contains the database platform abstraction,
Platform
and the factory to create instances for individual platforms,
PlatformFactory. |
| org.apache.ddlutils.platform |
This package contains the platform implementations for the individual databases.
|
| org.apache.ddlutils.platform.db2 |
This package contains the platform implementation for the
DB2 UDB database.
|
| org.apache.ddlutils.platform.firebird |
This package contains the platform implementation for the
Firebird database.
|
| org.apache.ddlutils.platform.hsqldb |
This package contains the platform implementation for the
HSQLDB database.
|
| org.apache.ddlutils.platform.interbase |
This package contains the platform implementation for the
Interbase database.
|
| org.apache.ddlutils.platform.mckoi |
This package contains the platform implementation for the
Mckoi database.
|
| org.apache.ddlutils.platform.mssql |
This package contains the platform implementation for the
Sql Server database.
|
| org.apache.ddlutils.platform.mysql |
This package contains the platform implementation for the
MySQL database.
|
| org.apache.ddlutils.platform.oracle |
This package contains the platform implementation for the
Oracle database.
|
| org.apache.ddlutils.platform.postgresql |
This package contains the platform implementation for the
PostgreSQL database.
|
| org.apache.ddlutils.platform.sapdb |
This package contains the platform implementation for the
SAP DB database.
|
| org.apache.ddlutils.platform.sybase |
This package contains the platform implementation for the
Sybase ASE database.
|
| org.apache.ddlutils.task |
The
org.apache.ddlutils.task package contains the Ant
tasks provided by DdlUtils. |
| Modifier and Type | Method and Description |
|---|---|
void |
Platform.alterModel(Connection connection,
Database currentModel,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the given live database model so that it match the desired model.
|
void |
Platform.alterModel(Database currentModel,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the given live database model so that it match the desired model, using the default database conneciton.
|
void |
Platform.alterTables(Connection connection,
Database desiredDb,
CreationParameters params,
boolean continueOnError)
Deprecated.
|
void |
Platform.alterTables(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
CreationParameters params,
boolean continueOnError)
Deprecated.
|
void |
Platform.alterTables(Database desiredDb,
CreationParameters params,
boolean continueOnError)
Deprecated.
Use
Platform.alterModel(Database, Database, CreationParameters, boolean) together with
Platform.readModelFromDatabase(String) instead. |
void |
Platform.alterTables(String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
CreationParameters params,
boolean continueOnError)
Deprecated.
|
void |
Platform.createModel(Connection connection,
Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
Platform.createModel(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
Platform.createTables(Connection connection,
Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Deprecated.
|
void |
Platform.createTables(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Deprecated.
|
String |
Platform.getAlterModelSql(Database currentModel,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the given current model so that it match the desired model.
|
String |
Platform.getAlterTablesSql(Connection connection,
Database desiredDb,
CreationParameters params)
Deprecated.
|
String |
Platform.getAlterTablesSql(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
CreationParameters params)
Deprecated.
|
String |
Platform.getAlterTablesSql(Database desiredDb,
CreationParameters params)
Deprecated.
Use
Platform.getAlterModelSql(Database, Database, CreationParameters) together with
Platform.readModelFromDatabase(String) instead. |
String |
Platform.getAlterTablesSql(String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
CreationParameters params)
Deprecated.
|
String |
Platform.getCreateModelSql(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Returns the SQL for creating the tables defined in the database model.
|
String |
Platform.getCreateTablesSql(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlatformImplBase.alterModel(Connection connection,
Database currentModel,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the given live database model so that it match the desired model.
|
void |
PlatformImplBase.alterModel(Database currentModel,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the given live database model so that it match the desired model, using the default database conneciton.
|
void |
PlatformImplBase.alterTables(Connection connection,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(String catalog,
String schema,
String[] tableTypes,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.createModel(Connection connection,
Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
PlatformImplBase.createModel(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
PlatformImplBase.createTables(Connection connection,
Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
SqlBuilder.createTables(Database database,
CreationParameters params,
boolean dropTables)
Outputs the DDL required to drop (if requested) and (re)create all tables in the database model.
|
void |
PlatformImplBase.createTables(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
String |
PlatformImplBase.getAlterModelSql(Database currentModel,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the given current model so that it match the desired model.
|
String |
PlatformImplBase.getAlterTablesSql(Connection connection,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(String catalog,
String schema,
String[] tableTypes,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getCreateModelSql(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Returns the SQL for creating the tables defined in the database model.
|
String |
PlatformImplBase.getCreateTablesSql(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Returns the SQL for creating the tables defined in the database model.
|
void |
PlatformImplBase.processChange(Database currentModel,
CreationParameters params,
AddColumnChange change)
Processes a change representing the addition of a column.
|
void |
PlatformImplBase.processChange(Database currentModel,
CreationParameters params,
AddForeignKeyChange change)
Processes a change representing the addition of a foreign key.
|
void |
PlatformImplBase.processChange(Database currentModel,
CreationParameters params,
AddIndexChange change)
Processes a change representing the addition of an index.
|
void |
PlatformImplBase.processChange(Database currentModel,
CreationParameters params,
AddPrimaryKeyChange change)
Processes a change representing the addition of a primary key.
|
void |
PlatformImplBase.processChange(Database currentModel,
CreationParameters params,
AddTableChange change)
Processes a change representing the addition of a table.
|
void |
PlatformImplBase.processChange(Database currentModel,
CreationParameters params,
RecreateTableChange change)
Processes a change representing the recreation of a table.
|
void |
PlatformImplBase.processChange(Database currentModel,
CreationParameters params,
RemoveForeignKeyChange change)
Processes a change representing the removal of a foreign key.
|
void |
PlatformImplBase.processChange(Database currentModel,
CreationParameters params,
RemoveIndexChange change)
Processes a change representing the removal of an index.
|
void |
PlatformImplBase.processChange(Database currentModel,
CreationParameters params,
RemoveTableChange change)
Processes a change representing the removal of a table.
|
protected Database |
PlatformImplBase.processChanges(Database model,
Collection changes,
CreationParameters params)
Processes the given changes in the specified order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Db2Platform.processChange(Database currentModel,
CreationParameters params,
PrimaryKeyChange change)
Processes the change of the primary key of a table.
|
void |
Db2Platform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes a change representing the addition of a column.
|
void |
Db2Platform.processChange(Database currentModel,
CreationParameters params,
RemovePrimaryKeyChange change)
Processes the removal of a primary key from a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FirebirdPlatform.processChange(Database currentModel,
CreationParameters params,
AddColumnChange change)
Processes the addition of a column to a table.
|
void |
FirebirdPlatform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes the removal of a column from a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
HsqlDbPlatform.processChange(Database currentModel,
CreationParameters params,
AddColumnChange change)
Processes the addition of a column to a table.
|
void |
HsqlDbPlatform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes the removal of a column from a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InterbasePlatform.processChange(Database currentModel,
CreationParameters params,
AddColumnChange change)
Processes the addition of a column to a table.
|
void |
InterbasePlatform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes the removal of a column from a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MckoiPlatform.processChange(Database currentModel,
CreationParameters params,
RecreateTableChange change)
Processes a change representing the recreation of a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MSSqlPlatform.processChange(Database currentModel,
CreationParameters params,
ColumnDefinitionChange change)
Processes the change of the column of a table.
|
void |
MSSqlPlatform.processChange(Database currentModel,
CreationParameters params,
PrimaryKeyChange change)
Processes the change of the primary key of a table.
|
void |
MSSqlPlatform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes the removal of a column from a table.
|
void |
MSSqlPlatform.processChange(Database currentModel,
CreationParameters params,
RemovePrimaryKeyChange change)
Processes the removal of a primary key from a table.
|
protected Database |
MSSqlPlatform.processChanges(Database model,
Collection changes,
CreationParameters params)
Processes the given changes in the specified order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MySqlPlatform.processChange(Database currentModel,
CreationParameters params,
AddColumnChange change)
Processes the addition of a column to a table.
|
void |
MySqlPlatform.processChange(Database currentModel,
CreationParameters params,
ColumnDefinitionChange change)
Processes the change of the column of a table.
|
void |
MySqlPlatform.processChange(Database currentModel,
CreationParameters params,
PrimaryKeyChange change)
Processes the change of the primary key of a table.
|
void |
MySqlPlatform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes the removal of a column from a table.
|
void |
MySqlPlatform.processChange(Database currentModel,
CreationParameters params,
RemovePrimaryKeyChange change)
Processes the removal of a primary key from a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Oracle8Platform.processChange(Database currentModel,
CreationParameters params,
PrimaryKeyChange change)
Processes the change of the primary key of a table.
|
void |
Oracle8Platform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes the removal of a column from a table.
|
void |
Oracle8Platform.processChange(Database currentModel,
CreationParameters params,
RemovePrimaryKeyChange change)
Processes the removal of a primary key from a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PostgreSqlPlatform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes the removal of a column from a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SapDbPlatform.processChange(Database currentModel,
CreationParameters params,
ColumnDefinitionChange change)
Processes the change of the column of a table.
|
void |
SapDbPlatform.processChange(Database currentModel,
CreationParameters params,
PrimaryKeyChange change)
Processes the change of the primary key of a table.
|
void |
SapDbPlatform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes the removal of a column from a table.
|
void |
SapDbPlatform.processChange(Database currentModel,
CreationParameters params,
RemovePrimaryKeyChange change)
Processes the removal of a primary key from a table.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SybasePlatform.processChange(Database currentModel,
CreationParameters params,
ColumnDefinitionChange change)
Processes the change of a column definition..
|
void |
SybasePlatform.processChange(Database currentModel,
CreationParameters params,
RemoveColumnChange change)
Processes the removal of a column from a table.
|
void |
SybasePlatform.processChange(Database currentModel,
CreationParameters params,
RemovePrimaryKeyChange change)
Processes the removal of a primary key from a table.
|
protected Database |
SybasePlatform.processChanges(Database model,
Collection changes,
CreationParameters params)
Processes the given changes in the specified order.
|
| Modifier and Type | Method and Description |
|---|---|
protected CreationParameters |
DatabaseCommandWithCreationParameters.getFilteredParameters(Database model,
String platformName,
boolean isCaseSensitive)
Filters the parameters for the given model and platform.
|
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.