Uses of Class
net.java.ao.schema.ddl.DDLTable

Packages that use DDLTable
net.java.ao   
net.java.ao.db   
net.java.ao.schema.ddl   
 

Uses of DDLTable in net.java.ao
 

Methods in net.java.ao with parameters of type DDLTable
protected  String DatabaseProvider.getFunctionNameForField(DDLTable table, DDLField field)
          Retrieves the name of the function which corresponds to the field in question (if any).
protected  String DatabaseProvider.getTriggerNameForField(DDLTable table, DDLField field)
          Retrieves the name of the trigger which corresponds to the field in question (if any).
protected  String[] DatabaseProvider.renderAlterTableAddColumn(DDLTable table, DDLField field)
          Generates the database-specific DDL statements required to add a column to an existing table.
protected  String[] DatabaseProvider.renderAlterTableChangeColumn(DDLTable table, DDLField oldField, DDLField field)
          Generates the database-specific DDL statements required to change the given column from its old specification to the given DDL value.
protected  String DatabaseProvider.renderAlterTableChangeColumnStatement(DDLTable table, DDLField oldField, DDLField field)
          Generates the database-specific DDL statement only for altering a table and changing a column.
protected  String[] DatabaseProvider.renderAlterTableDropColumn(DDLTable table, DDLField field)
          Generates the database-specific DDL statements required to remove the specified column from the given table.
protected  String DatabaseProvider.renderConstraintsForTable(DDLTable table)
          Renders the foreign key constraints in database-specific DDL for the table in question.
protected  String[] DatabaseProvider.renderDropFunctions(DDLTable table)
          Generates the database-specific DDL statements required to drop all associated functions for the given table representation.
protected  String[] DatabaseProvider.renderDropSequences(DDLTable table)
          Generates the database-specific DDL statements required to drop all associated sequences for the given table representation.
protected  String DatabaseProvider.renderDropTable(DDLTable table)
          Generates the appropriate database-specific DDL statement to drop the specified table representation.
protected  String[] DatabaseProvider.renderDropTriggers(DDLTable table)
          Generates the database-specific DDL statements required to drop all associated triggers for the given table representation.
protected  String DatabaseProvider.renderFunctionForField(DDLTable table, DDLField field)
          Renders the function which corresponds to the specified field, or null if none.
protected  String[] DatabaseProvider.renderFunctions(DDLTable table)
          Generates the database-specific DDL statements required to create all of the functions necessary for the given table.
protected  String DatabaseProvider.renderInsert(DDLTable ddlTable, DDLValue[] ddlValues)
           
protected  String[] DatabaseProvider.renderSequences(DDLTable table)
          Generates the database-specific DDL statements required to create all of the sequences necessary for the given table.
protected  String DatabaseProvider.renderTable(DDLTable table)
          Renders the specified table representation into the corresponding database-specific DDL statement.
protected  String DatabaseProvider.renderTriggerForField(DDLTable table, DDLField field)
          Renders the trigger which corresponds to the specified field, or null if none.
protected  String[] DatabaseProvider.renderTriggers(DDLTable table)
          Generates the database-specific DDL statements required to create all of the triggers necessary for the given table.
 

Uses of DDLTable in net.java.ao.db
 

Methods in net.java.ao.db with parameters of type DDLTable
protected  String PostgreSQLDatabaseProvider.getFunctionNameForField(DDLTable table, DDLField field)
           
protected  String PostgreSQLDatabaseProvider.getTriggerNameForField(DDLTable table, DDLField field)
           
protected  String[] SQLServerDatabaseProvider.renderAlterTableAddColumn(DDLTable table, DDLField field)
           
protected  String[] PostgreSQLDatabaseProvider.renderAlterTableChangeColumn(DDLTable table, DDLField oldField, DDLField field)
           
protected  String SQLServerDatabaseProvider.renderAlterTableChangeColumnStatement(DDLTable table, DDLField oldField, DDLField field)
           
protected  String OracleDatabaseProvider.renderAlterTableChangeColumnStatement(DDLTable table, DDLField oldField, DDLField field)
           
protected  String HSQLDatabaseProvider.renderAlterTableChangeColumnStatement(DDLTable table, DDLField oldField, DDLField field)
           
protected  String HSQLDatabaseProvider.renderConstraintsForTable(DDLTable table)
           
protected  String[] PostgreSQLDatabaseProvider.renderDropFunctions(DDLTable table)
           
protected  String[] OracleDatabaseProvider.renderDropSequences(DDLTable table)
           
protected  String OracleDatabaseProvider.renderDropTable(DDLTable table)
           
protected  String[] OracleDatabaseProvider.renderDropTriggers(DDLTable table)
           
protected  String PostgreSQLDatabaseProvider.renderFunctionForField(DDLTable table, DDLField field)
           
protected  String[] OracleDatabaseProvider.renderSequences(DDLTable table)
           
protected  String SQLServerDatabaseProvider.renderTriggerForField(DDLTable table, DDLField field)
           
protected  String PostgreSQLDatabaseProvider.renderTriggerForField(DDLTable table, DDLField field)
           
protected  String OracleDatabaseProvider.renderTriggerForField(DDLTable table, DDLField field)
           
protected  String[] OracleDatabaseProvider.renderTriggers(DDLTable table)
           
 

Uses of DDLTable in net.java.ao.schema.ddl
 

Methods in net.java.ao.schema.ddl that return DDLTable
 DDLTable DDLAction.getTable()
           
static DDLTable[] SchemaReader.readSchema(Connection connection, DatabaseProvider provider, SchemaConfiguration schemaConfiguration, boolean includeForeignKeys)
           
static DDLTable[] SchemaReader.readSchema(DatabaseProvider provider, SchemaConfiguration schemaConfiguration)
          Currently doesn't account for: setOnUpdate setUnique
static DDLTable[] SchemaReader.readSchema(DatabaseProvider provider, SchemaConfiguration schemaConfiguration, boolean includeForeignKeys)
           
 

Methods in net.java.ao.schema.ddl with parameters of type DDLTable
static DDLAction[] SchemaReader.diffSchema(DDLTable[] fromArray, DDLTable[] ontoArray, boolean caseSensetive)
          Returns the difference between from and onto with a bias toward from.
static DDLAction[] SchemaReader.diffSchema(DDLTable[] fromArray, DDLTable[] ontoArray, boolean caseSensetive)
          Returns the difference between from and onto with a bias toward from.
static DDLAction DDLActions.newInsert(DDLTable table, DDLValue[] values)
           
 void DDLAction.setTable(DDLTable table)
           
 



Copyright © 2007-2011. All Rights Reserved.