|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ddlutils.platform.SqlBuilder
org.apache.ddlutils.platform.oracle.Oracle8Builder
The SQL Builder for Oracle.
| Field Summary |
| Fields inherited from class org.apache.ddlutils.platform.SqlBuilder |
_log, SIZE_PLACEHOLDER |
| Constructor Summary | |
Oracle8Builder(PlatformInfo info)
Creates a new builder instance. |
|
| Method Summary | |
void |
createTable(Database database,
Table table,
Map parameters)
Outputs the DDL to create the table along with any non-external constraints as well as with external primary keys and indices (but not foreign keys). |
void |
dropExternalForeignKeys(Table table)
Creates external foreignkey drop statements. |
void |
dropTable(Table table)
Outputs the DDL to drop the table. |
protected String |
getNativeDefaultValue(Column column)
Returns the native default value for the column. |
protected void |
writeColumnAutoIncrementStmt(Table table,
Column column)
Prints that the column is an auto increment column. |
protected void |
writeColumnDefaultValue(Table table,
Column column)
Prints the default value of the column. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Oracle8Builder(PlatformInfo info)
info - The platform info| Method Detail |
public void dropTable(Table table)
throws IOException
dropTable in class SqlBuildertable - The table to drop
IOException
public void dropExternalForeignKeys(Table table)
throws IOException
dropExternalForeignKeys in class SqlBuildertable - The table
IOException
public void createTable(Database database,
Table table,
Map parameters)
throws IOException
createTable in class SqlBuilderdatabase - The database modeltable - The tableparameters - Additional platform-specific parameters for the table creation
IOException
protected void writeColumnDefaultValue(Table table,
Column column)
throws IOException
writeColumnDefaultValue in class SqlBuildertable - The tablecolumn - The column
IOExceptionprotected String getNativeDefaultValue(Column column)
getNativeDefaultValue in class SqlBuildercolumn - The column
protected void writeColumnAutoIncrementStmt(Table table,
Column column)
throws IOException
writeColumnAutoIncrementStmt in class SqlBuildertable - The tablecolumn - The column
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||