Package | Description |
---|---|
oracle.javatools.db |
Contains a metadata API for describing database objects, and retrieving them from a provider of database objects - for example a database.
|
oracle.javatools.db.ddl |
API for generating DDL in the database API.
|
oracle.javatools.db.extension |
Contains classes for extending the object support that comes as standard in the database api (e.g.
|
Modifier and Type | Method and Description |
---|---|
DDL<oracle.javatools.db.ora.ddl.OracleDDLType> |
Ddl.convertToNew(DBObject obj)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DDL<T> |
DDL.copyWithPrompts()
Gets a copy of this DDL object with all the statements prompted as appropriate for the command line tool of the native database.
|
protected DDL |
TokenDDLGenerator.createDDL(DDLOptions options, java.lang.String code, DBObject obj, DDLType ddlType)
Creates a new DDL object with the given ddlCode by processing the given code using a TokenProcessor and using the resulting String as the DDL string.
|
protected DDL |
TokenDDLGenerator.createUpdateDDL(DDLOptions options, java.lang.String code, Difference rs, DDLType ddlType)
Creates a new update DDL object with the given ddlCode by processing the given update code using a TokenProcessor and using the resulting String as the DDL string.
|
DDL |
AlterDDLGenerator.getAlterDDL(DDLOptions options, Difference diff)
Returns the DDL to apply an update (ALTER) statement which will effect the changes in the given Difference.
|
DDL<T> |
DDLGenerator.getCreateDDL(DDLOptions options, DBObject... objects)
Gets CREATE statements for the given objects.
|
DDL |
CreateDDLGenerator.getCreateDDL(DDLOptions options, DBObject obj)
Gets the DDL to create the given object in the database.
|
DDL<T> |
DDLGenerator.getDeleteDDL(DDLOptions options, DBObject... objects)
Gets DROP statements for the given objects.
|
DDL |
DropDDLGenerator.getDropDDL(DDLOptions options, DBObject obj)
Gets the DDL to DROP the given object from the database.
|
DDL<T> |
DDLGenerator.getUndeleteDDL(DDLOptions options, DBObject... objects)
Gets statements to undelete (e.g.
|
DDL |
UndeleteDDLGenerator.getUndeleteDDL(DDLOptions options, DBObject obj)
Gets the DDL to DROP the given object from the database.
|
DDL<T> |
DDLGenerator.getUpdateDDL(DDLOptions options, Difference diff)
Gets ALTER statements for the given objects where possible, or DROP/CREATE, or CREATE AND REPLACE where appropriate/necessary.
|
Modifier and Type | Method and Description |
---|---|
void |
DDL.append(DDL<T> other)
Appends the given DDL to this one.
|
protected boolean |
DDLDatabase.executeDDL(DDL ddl, boolean ignoreErrors) |
Modifier and Type | Method and Description |
---|---|
DDL |
DelegateDDLGenerator.getCreateDDL(DDLOptions options, DBObject... objects) |
DDL |
DelegateDDLGenerator.getDeleteDDL(DDLOptions options, DBObject... objects) |
DDL |
DelegateDDLGenerator.getUndeleteDDL(DDLOptions options, DBObject... objects) |
DDL |
DelegateDDLGenerator.getUpdateDDL(DDLOptions options, Difference diff) |