A B C D E F G H I J L M N O P Q R S T U V W _

A

ARRAY - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.ARRAY constant.
AddColumnChange - class org.apache.ddlutils.alteration.AddColumnChange.
Represents the addition of a column to a table.
AddColumnChange(Table, Column, Column, Column) - Constructor for class org.apache.ddlutils.alteration.AddColumnChange
Creates a new change object.
AddForeignKeyChange - class org.apache.ddlutils.alteration.AddForeignKeyChange.
Represents the addition of a foreign key to a table.
AddForeignKeyChange(Table, ForeignKey) - Constructor for class org.apache.ddlutils.alteration.AddForeignKeyChange
Creates a new change object.
AddIndexChange - class org.apache.ddlutils.alteration.AddIndexChange.
Represents the addition of an index to a table.
AddIndexChange(Table, Index) - Constructor for class org.apache.ddlutils.alteration.AddIndexChange
Creates a new change object.
AddPrimaryKeyChange - class org.apache.ddlutils.alteration.AddPrimaryKeyChange.
Represents the addition of a primary key to a table which does not have one.
AddPrimaryKeyChange(Table, Column[]) - Constructor for class org.apache.ddlutils.alteration.AddPrimaryKeyChange
Creates a new change object.
AddTableChange - class org.apache.ddlutils.alteration.AddTableChange.
Represents the addition of a table to a model.
AddTableChange(Table) - Constructor for class org.apache.ddlutils.alteration.AddTableChange
Creates a new change object.
AxionBuilder - class org.apache.ddlutils.platform.axion.AxionBuilder.
The SQL Builder for the Axion database.
AxionBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.axion.AxionBuilder
Creates a new axion sql builder.
AxionModelReader - class org.apache.ddlutils.platform.axion.AxionModelReader.
Reads a database model from an Axion database.
AxionModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.axion.AxionModelReader
Creates a new model reader for Axion databases.
AxionPlatform - class org.apache.ddlutils.platform.axion.AxionPlatform.
The platform for the Axion database.
AxionPlatform() - Constructor for class org.apache.ddlutils.platform.axion.AxionPlatform
Creates a new axion platform instance.
add(String, Rule) - Method in class org.apache.ddlutils.io.DigesterRules
addBean(DynaBean) - Method in interface org.apache.ddlutils.io.DataSink
Adds a dyna bean.
addBean(DynaBean) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Adds a dyna bean.
addColumn(IndexColumn) - Method in interface org.apache.ddlutils.model.Index
Adds a column that makes up this index.
addColumn(IndexColumn) - Method in class org.apache.ddlutils.model.IndexImpBase
Adds a column that makes up this index.
addColumn(Column) - Method in class org.apache.ddlutils.model.Table
Adds the given column.
addColumn(int, Column) - Method in class org.apache.ddlutils.model.Table
Adds the given column at the specified position.
addColumn(Column, Column) - Method in class org.apache.ddlutils.model.Table
Adds the column after the given previous column.
addColumns(Collection) - Method in class org.apache.ddlutils.model.Table
Adds the given columns.
addCommand(Command) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Adds a command.
addConfiguredConverter(DataConverterRegistration) - Method in class org.apache.ddlutils.task.ConvertingDatabaseCommand
Registers a converter.
addConfiguredDatabase(BasicDataSource) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Adds the data source to use for accessing the database.
addConfiguredDatabase(BasicDataSource) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Adds the data source to use for accessing the database.
addConfiguredFileset(FileSet) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Adds a fileset.
addConfiguredFileset(FileSet) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
Adds a fileset.
addConfiguredParameter(Parameter) - Method in class org.apache.ddlutils.task.CreateDatabaseCommand
Adds a parameter which is a name-value pair.
addConfiguredParameter(TableSpecificParameter) - Method in class org.apache.ddlutils.task.DatabaseCommandWithCreationParameters
Adds a parameter which is a name-value pair.
addCreateDatabase(CreateDatabaseCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Adds the "create database"-command.
addDropDatabase(DropDatabaseCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Adds the "drop database"-command.
addEscapedCharSequence(String, String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Adds a char sequence that needs escaping, and its escaped version.
addForeignKey(ForeignKey) - Method in class org.apache.ddlutils.model.Table
Adds the given foreign key.
addForeignKey(int, ForeignKey) - Method in class org.apache.ddlutils.model.Table
Adds the given foreign key at the specified position.
addForeignKeys(Collection) - Method in class org.apache.ddlutils.model.Table
Adds the given foreign keys.
addIndex(Index) - Method in class org.apache.ddlutils.model.Table
Adds the given index.
addIndex(int, Index) - Method in class org.apache.ddlutils.model.Table
Adds the given index at the specified position.
addIndices(Collection) - Method in class org.apache.ddlutils.model.Table
Adds the given indices.
addNativeTypeMapping(int, String) - Method in class org.apache.ddlutils.PlatformInfo
Adds a mapping from jdbc type to database-native type.
addNativeTypeMapping(int, String, int) - Method in class org.apache.ddlutils.PlatformInfo
Adds a mapping from jdbc type to database-native type.
addNativeTypeMapping(String, String) - Method in class org.apache.ddlutils.PlatformInfo
Adds a mapping from jdbc type to database-native type.
addNativeTypeMapping(String, String, String) - Method in class org.apache.ddlutils.PlatformInfo
Adds a mapping from jdbc type to database-native type.
addParameter(Table, String, String) - Method in class org.apache.ddlutils.platform.CreationParameters
Adds a parameter.
addPendingFK(Identity) - Method in class org.apache.ddlutils.io.WaitingObject
Adds the identity of another object that the object is waiting for.
addReference(Reference) - Method in class org.apache.ddlutils.model.ForeignKey
Adds a reference, ie.
addTable(Table) - Method in class org.apache.ddlutils.model.Database
Adds a table.
addTable(int, Table) - Method in class org.apache.ddlutils.model.Database
Adds a table at the specified position.
addTables(Collection) - Method in class org.apache.ddlutils.model.Database
Adds the given tables.
addWriteDataToDatabase(WriteDataToDatabaseCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Adds the "write data into database"-command.
addWriteDataToDatabase(WriteDataToDatabaseCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Adds the "write data to database"-command.
addWriteDataToFile(WriteDataToFileCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Adds the "write data into file"-command.
addWriteDataToFile(WriteDataToFileCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Adds the "write data to file"-command.
addWriteDtdToFile(WriteDtdToFileCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Adds the "create dtd"-command.
addWriteDtdToFile(WriteDtdToFileCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Adds the "write dtd to file"-command.
addWriteSchemaSqlToFile(WriteSchemaSqlToFileCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Adds the "write schema sql to file"-command.
addWriteSchemaSqlToFile(WriteSchemaSqlToFileCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Adds the "write schema sql to file"-command.
addWriteSchemaToDatabase(WriteSchemaToDatabaseCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Adds the "write schema to database"-command.
addWriteSchemaToFile(WriteSchemaToFileCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Adds the "write schema to file"-command.
adjustColumns(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Adjusts the columns in the table by fixing types and default values.
afterInsert(Connection, Table) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Allows platforms to issue statements directly after rows have been inserted into the specified table.
afterInsert(Connection, Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
Allows platforms to issue statements directly after rows have been inserted into the specified table.
afterInsert(Connection, Table) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
Allows platforms to issue statements directly after rows have been inserted into the specified table.
afterUpdate(Connection, Table) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Allows platforms to issue statements directly after rows have been updated in the specified table.
afterUpdate(Connection, Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
Allows platforms to issue statements directly after rows have been updated in the specified table.
afterUpdate(Connection, Table) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
Allows platforms to issue statements directly after rows have been updated in the specified table.
alterDatabase(Database, Database, CreationParameters) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the DDL to modify an existing database so the schema matches the specified database schema by using drops, modifications and additions.
alterTables(Database, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Database, CreationParameters, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(String, String, String[], Database, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(String, String, String[], Database, CreationParameters, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Connection, Database, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Connection, Database, CreationParameters, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Connection, String, String, String[], Database, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Connection, String, String, String[], Database, CreationParameters, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
alterTables(Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
alterTables(Connection, Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
alterTables(Connection, Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
alterTables(String, String, String[], Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
alterTables(String, String, String[], Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
alterTables(Connection, String, String, String[], Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
alterTables(Connection, String, String, String[], Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddColumnChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddForeignKeyChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddIndexChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddPrimaryKeyChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddTableChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnAutoIncrementChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnDataTypeChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnDefaultValueChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnOrderChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnRequiredChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnSizeChange
Applies this change to the given database.
apply(Database, boolean) - Method in interface org.apache.ddlutils.alteration.ModelChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.PrimaryKeyChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemoveColumnChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemoveForeignKeyChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemoveIndexChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemovePrimaryKeyChange
Applies this change to the given database.
apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemoveTableChange
Applies this change to the given database.
applyForSelectedChanges(Collection, Class[], Closure) - Method in class org.apache.ddlutils.platform.SqlBuilder
Calls the given closure for all changes that are of one of the given types, and then removes them from the changes collection.
areEqual(String, String, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Compares the two strings.
assertHasSameData(Database, Platform, Platform) - Method in class org.apache.ddlutils.util.DatabaseTestHelper
Asserts that the data in the tables described by the given model is the same in the database accessed by the second platform as is in the database accessed by the first platform.
assertHasSameData(String, Database, Platform, Platform) - Method in class org.apache.ddlutils.util.DatabaseTestHelper
Asserts that the data in the tables described by the given model is the same in the database accessed by the second platform as is in the database accessed by the first platform.

B

BASE64_ATTR_NAME - Static variable in class org.apache.ddlutils.io.DatabaseIO
The name of the XML attribute use to denote that teh content of a data XML element uses Base64 encoding.
BIGINT - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.BIGINT constant.
BINARY - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The enum value for binary jdbc types.
BINARY - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.BINARY constant.
BIT - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.BIT constant.
BLOB - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.BLOB constant.
BOOLEAN - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.BOOLEAN constant.
BinaryObjectsHelper - class org.apache.ddlutils.io.BinaryObjectsHelper.
Helper class for dealing with the serialization and Base64 encoding of objects.
BinaryObjectsHelper() - Constructor for class org.apache.ddlutils.io.BinaryObjectsHelper
 
ByteArrayBase64Converter - class org.apache.ddlutils.io.converters.ByteArrayBase64Converter.
Converts between a byte array and its Base64 encoded string representation (e.g.
ByteArrayBase64Converter() - Constructor for class org.apache.ddlutils.io.converters.ByteArrayBase64Converter
 
beforeInsert(Connection, Table) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Allows platforms to issue statements directly before rows are inserted into the specified table.
beforeInsert(Connection, Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
Allows platforms to issue statements directly before rows are inserted into the specified table.
beforeInsert(Connection, Table) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
Allows platforms to issue statements directly before rows are inserted into the specified table.
beforeUpdate(Connection, Table) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Allows platforms to issue statements directly before rows are updated in the specified table.
beforeUpdate(Connection, Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
Allows platforms to issue statements directly before rows are updated in the specified table.
beforeUpdate(Connection, Table) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
Allows platforms to issue statements directly before rows are updated in the specified table.
begin(String, String, Attributes) - Method in class org.apache.ddlutils.io.DynaSqlCreateRule
begin(Attributes) - Method in class org.apache.ddlutils.io.SetColumnPropertyFromSubElementRule
begin(Attributes) - Method in class org.apache.ddlutils.io.SetColumnPropertyRule
body(String) - Method in class org.apache.ddlutils.io.SetColumnPropertyFromSubElementRule
borrowConnection() - Method in interface org.apache.ddlutils.Platform
Returns a (new) JDBC connection from the data source.
borrowConnection() - Method in class org.apache.ddlutils.util.JdbcSupport
Returns a (new) JDBC connection from the data source.

C

CHAR - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.CHAR constant.
CLOB - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.CLOB constant.
CallbackClosure - class org.apache.ddlutils.util.CallbackClosure.
A closure that determines a callback for the type of the object and calls it.
CallbackClosure(Object, String, Class[], Object[]) - Constructor for class org.apache.ddlutils.util.CallbackClosure
Creates a new closure object.
CloudscapeBuilder - class org.apache.ddlutils.platform.cloudscape.CloudscapeBuilder.
The SQL Builder for Cloudscape.
CloudscapeBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.cloudscape.CloudscapeBuilder
Creates a new builder instance.
CloudscapePlatform - class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform.
The Cloudscape platform implementation.
CloudscapePlatform() - Constructor for class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform
Creates a new platform instance.
Column - class org.apache.ddlutils.model.Column.
Represents a column in the database model.
Column() - Constructor for class org.apache.ddlutils.model.Column
 
ColumnAutoIncrementChange - class org.apache.ddlutils.alteration.ColumnAutoIncrementChange.
Represents the change of the auto-increment constraint of a column.
ColumnAutoIncrementChange(Table, Column) - Constructor for class org.apache.ddlutils.alteration.ColumnAutoIncrementChange
Creates a new change object.
ColumnChange - interface org.apache.ddlutils.alteration.ColumnChange.
Represents a change to a column of a table.
ColumnDataTypeChange - class org.apache.ddlutils.alteration.ColumnDataTypeChange.
Represents the change of the data type of a column.
ColumnDataTypeChange(Table, Column, int) - Constructor for class org.apache.ddlutils.alteration.ColumnDataTypeChange
Creates a new change object.
ColumnDefaultValueChange - class org.apache.ddlutils.alteration.ColumnDefaultValueChange.
Represents the change of the default value of a column.
ColumnDefaultValueChange(Table, Column, String) - Constructor for class org.apache.ddlutils.alteration.ColumnDefaultValueChange
Creates a new change object.
ColumnOrderChange - class org.apache.ddlutils.alteration.ColumnOrderChange.
Represents the change of the order of the columns of a table.
ColumnOrderChange(Table, Map) - Constructor for class org.apache.ddlutils.alteration.ColumnOrderChange
Creates a new change object.
ColumnRequiredChange - class org.apache.ddlutils.alteration.ColumnRequiredChange.
Represents the change of the required constraint of a column.
ColumnRequiredChange(Table, Column) - Constructor for class org.apache.ddlutils.alteration.ColumnRequiredChange
Creates a new change object.
ColumnSizeChange - class org.apache.ddlutils.alteration.ColumnSizeChange.
Represents the change of the size or scale of a column.
ColumnSizeChange(Table, Column, int, int) - Constructor for class org.apache.ddlutils.alteration.ColumnSizeChange
Creates a new change object.
Command - interface org.apache.ddlutils.task.Command.
Base interface for commands that work with a model.
ConversionException - exception org.apache.ddlutils.io.converters.ConversionException.
Exception generated by SqlTypeConverter implementations.
ConversionException() - Constructor for class org.apache.ddlutils.io.converters.ConversionException
Creates a new exception object.
ConversionException(String) - Constructor for class org.apache.ddlutils.io.converters.ConversionException
Creates a new exception object.
ConversionException(Throwable) - Constructor for class org.apache.ddlutils.io.converters.ConversionException
Creates a new exception object.
ConversionException(String, Throwable) - Constructor for class org.apache.ddlutils.io.converters.ConversionException
Creates a new exception object.
ConverterConfiguration - class org.apache.ddlutils.io.ConverterConfiguration.
Contains the configuration for converters, which convert between the Java data types corresponding to SQL data, and string representations.
ConverterConfiguration() - Constructor for class org.apache.ddlutils.io.ConverterConfiguration
Creates a new configuration object with the default converters.
ConvertingDatabaseCommand - class org.apache.ddlutils.task.ConvertingDatabaseCommand.
Base type for database commands that use converters.
ConvertingDatabaseCommand() - Constructor for class org.apache.ddlutils.task.ConvertingDatabaseCommand
 
CreateDatabaseCommand - class org.apache.ddlutils.task.CreateDatabaseCommand.
The sub task for creating the target database.
CreateDatabaseCommand() - Constructor for class org.apache.ddlutils.task.CreateDatabaseCommand
 
CreationParameters - class org.apache.ddlutils.platform.CreationParameters.
Contains parameters used in the table creation.
CreationParameters() - Constructor for class org.apache.ddlutils.platform.CreationParameters
 
cleanUp() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator
Closes the resources (connection, statement, resultset).
clone() - Method in class org.apache.ddlutils.model.Column
clone() - Method in class org.apache.ddlutils.model.Database
clone() - Method in class org.apache.ddlutils.model.ForeignKey
clone() - Method in interface org.apache.ddlutils.model.Index
Clones this index.
clone() - Method in class org.apache.ddlutils.model.IndexColumn
clone() - Method in class org.apache.ddlutils.model.IndexImpBase
clone() - Method in class org.apache.ddlutils.model.NonUniqueIndex
clone() - Method in class org.apache.ddlutils.model.Reference
clone() - Method in class org.apache.ddlutils.model.Table
clone() - Method in class org.apache.ddlutils.model.UniqueIndex
closeStatement(Statement) - Method in class org.apache.ddlutils.util.JdbcSupport
Closes the given statement (which also closes all result sets for this statement) and the connection it belongs to.
columnsDiffer(Column, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Compares the current column in the database with the desired one.
compare(Database, Database) - Method in class org.apache.ddlutils.alteration.ModelComparator
Compares the two models and returns the changes necessary to create the second model from the first one.
compareColumns(Table, Column, Table, Column) - Method in class org.apache.ddlutils.alteration.ModelComparator
Compares the two columns and returns the changes necessary to create the second column from the first one.
compareTables(Database, Table, Database, Table) - Method in class org.apache.ddlutils.alteration.ModelComparator
Compares the two tables and returns the changes necessary to create the second table from the first one.
configure() - Method in class org.apache.ddlutils.io.DataReader
convert(String, int, int) - Method in class org.apache.ddlutils.platform.DefaultValueHelper
Converts the given default value from the specified original to the target jdbc type.
convertFromString(String, int) - Method in class org.apache.ddlutils.io.converters.ByteArrayBase64Converter
Converts the given textual representation to an instance of the target type.
convertFromString(String, int) - Method in class org.apache.ddlutils.io.converters.DateConverter
Converts the given textual representation to an instance of the target type.
convertFromString(String, int) - Method in class org.apache.ddlutils.io.converters.NumberConverter
Converts the given textual representation to an instance of the target type.
convertFromString(String, int) - Method in interface org.apache.ddlutils.io.converters.SqlTypeConverter
Converts the given textual representation to an instance of the target type.
convertFromString(String, int) - Method in class org.apache.ddlutils.io.converters.TimeConverter
Converts the given textual representation to an instance of the target type.
convertFromString(String, int) - Method in class org.apache.ddlutils.io.converters.TimestampConverter
Converts the given textual representation to an instance of the target type.
convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.ByteArrayBase64Converter
Converts the given object to a string representation.
convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.DateConverter
Converts the given object to a string representation.
convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.NumberConverter
Converts the given object to a string representation.
convertToString(Object, int) - Method in interface org.apache.ddlutils.io.converters.SqlTypeConverter
Converts the given object to a string representation.
convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.TimeConverter
Converts the given object to a string representation.
convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.TimestampConverter
Converts the given object to a string representation.
copy(Table, Object) - Method in class org.apache.ddlutils.dynabean.DynaClassCache
Creates a new dyna bean instance for the given table and copies the values from the given source object.
createAutoIncrementSequence(Table, Column) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
Creates the sequence necessary for the auto-increment of the given column.
createAutoIncrementSequence(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Creates the sequence necessary for the auto-increment of the given column.
createAutoIncrementTrigger(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Creates the trigger necessary for the auto-increment of the given column.
createDatabase(String, String, String, String, Map) - Method in interface org.apache.ddlutils.Platform
Creates the database specified by the given parameters.
createDatabase(String, String, String, String, Map) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to retrieve the connection information from it without establishing a connection.
The given connection url is the url that you'd use to connect to the already-created database.
On some platforms, this method suppurts additional parameters. These are documented in the manual section for the individual platforms.
createDatabase(String, String, String, String, Map) - Method in class org.apache.ddlutils.platform.axion.AxionPlatform
Creates the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to retrieve the connection information from it without establishing a connection.
The given connection url is the url that you'd use to connect to the already-created database.
On some platforms, this method suppurts additional parameters. These are documented in the manual section for the individual platforms.
createDatabase(String, String, String, String, Map) - Method in class org.apache.ddlutils.platform.derby.DerbyPlatform
Creates the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to retrieve the connection information from it without establishing a connection.
The given connection url is the url that you'd use to connect to the already-created database.
On some platforms, this method suppurts additional parameters. These are documented in the manual section for the individual platforms.
createDatabase(String, String, String, String, Map) - Method in class org.apache.ddlutils.platform.mckoi.MckoiPlatform
Creates the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to retrieve the connection information from it without establishing a connection.
The given connection url is the url that you'd use to connect to the already-created database.
On some platforms, this method suppurts additional parameters. These are documented in the manual section for the individual platforms.
createDatabase(String, String, String, String, Map) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
Creates the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to retrieve the connection information from it without establishing a connection.
The given connection url is the url that you'd use to connect to the already-created database.
On some platforms, this method suppurts additional parameters. These are documented in the manual section for the individual platforms.
createDeleteSql(Database, SqlDynaClass, SqlDynaProperty[], DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates the SQL for deleting an object of the given type.
createDynaBeanFor(Table) - Method in class org.apache.ddlutils.model.Database
Creates a new dyna bean for the given table.
createDynaBeanFor(String, boolean) - Method in class org.apache.ddlutils.model.Database
Convenience method that combines Database.createDynaBeanFor(Table) and Database.findTable(String, boolean).
createExternalForeignKeys(Database) - Method in class org.apache.ddlutils.platform.SqlBuilder
Creates the external foreignkey creation statements for all tables in the database.
createExternalForeignKeys(Database, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Creates external foreignkey creation statements if necessary.
createExternalForeignKeys(Database) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Creates the external foreignkey creation statements for all tables in the database.
createInsertSql(Database, SqlDynaClass, SqlDynaProperty[], DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates the SQL for inserting an object of the given type.
createNewInstance(Table) - Method in class org.apache.ddlutils.dynabean.DynaClassCache
Creates a new dyna bean instance for the given table.
createNewPlatformInstance(String) - Static method in class org.apache.ddlutils.PlatformFactory
Creates a new platform for the given (case insensitive) database name or returns null if the database is not recognized.
createNewPlatformInstance(String, String) - Static method in class org.apache.ddlutils.PlatformFactory
Creates a new platform for the specified database.
createNewPlatformInstance(DataSource) - Static method in class org.apache.ddlutils.PlatformFactory
Creates a new platform for the specified database.
createNewPlatformInstance(DataSource, String, String) - Static method in class org.apache.ddlutils.PlatformFactory
Creates a new platform for the specified database.
createResultSetIterator(Database, ResultSet, Table[]) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates an iterator over the given result set.
createSelectLastInsertIdSql(Database, SqlDynaClass) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates the SQL for querying for the id generated by the last insert of an object of the given type.
createTable(Database, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
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).
createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.SqlBuilder
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).
createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
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).
createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
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).
createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
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).
createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
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).
createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
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).
createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
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).
createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
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).
createTables(Database, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Creates the tables defined in the database model.
createTables(Connection, Database, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Creates the tables defined in the database model.
createTables(Database, CreationParameters, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Creates the tables defined in the database model.
createTables(Connection, Database, CreationParameters, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Creates the tables defined in the database model.
createTables(Database, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates the tables defined in the database model.
createTables(Connection, Database, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates the tables defined in the database model.
createTables(Database, CreationParameters, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates the tables defined in the database model.
createTables(Connection, Database, CreationParameters, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates the tables defined in the database model.
createTables(Database) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL required to drop and (re)create all tables in the database model.
createTables(Database, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL required to drop (if requested) and (re)create all tables in the database model.
createTables(Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL required to drop (if requested) and (re)create all tables in the database model.
createTemporaryTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL to create the given temporary table.
createTemporaryTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Outputs the DDL to create the given temporary table. Per default this is simply a call to SqlBuilder.createTable(Database, Table, Map).
createUniqueIdentifier() - Method in class org.apache.ddlutils.platform.SqlBuilder
Creates a reasonably unique identifier only consisting of hexadecimal characters and underscores.
createUpdateSql(Database, SqlDynaClass, SqlDynaProperty[], SqlDynaProperty[], DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Creates the SQL for updating an object of the given type.

D

DATABASENAME - Static variable in class org.apache.ddlutils.platform.axion.AxionPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.db2.Db2v8Platform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.derby.DerbyPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.firebird.FirebirdPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.interbase.InterbasePlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.maxdb.MaxDbPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.mckoi.MckoiPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.mysql.MySql50Platform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.mysql.MySqlPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.oracle.Oracle10Platform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.oracle.Oracle9Platform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.sapdb.SapDbPlatform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.sybase.SybaseASE15Platform
Database name of this platform.
DATABASENAME - Static variable in class org.apache.ddlutils.platform.sybase.SybasePlatform
Database name of this platform.
DATALINK - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.DATALINK constant.
DATE - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.DATE constant.
DATETIME - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The enum value for date/time jdbc types.
DECIMAL - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.DECIMAL constant.
DISTINCT - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.DISTINCT constant.
DOUBLE - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.DOUBLE constant.
DTD_PREFIX - Static variable in class org.apache.ddlutils.io.LocalEntityResolver
The default DTD.
DataConverterRegistration - class org.apache.ddlutils.io.DataConverterRegistration.
Represents the registration of a data converter for tasks that work on data files.
DataConverterRegistration() - Constructor for class org.apache.ddlutils.io.DataConverterRegistration
 
DataDtdWriter - class org.apache.ddlutils.io.DataDtdWriter.
Generates the DTD for data xml files usable with a specified database model.
DataDtdWriter() - Constructor for class org.apache.ddlutils.io.DataDtdWriter
 
DataReader - class org.apache.ddlutils.io.DataReader.
Reads data XML into dyna beans matching a specified database model.
DataReader() - Constructor for class org.apache.ddlutils.io.DataReader
 
DataSink - interface org.apache.ddlutils.io.DataSink.
Marks classes that can receive dyna beans read by the DataReader.
DataSinkException - exception org.apache.ddlutils.io.DataSinkException.
Exception generated by DataSink implementations.
DataSinkException() - Constructor for class org.apache.ddlutils.io.DataSinkException
Creates a new exception object.
DataSinkException(String) - Constructor for class org.apache.ddlutils.io.DataSinkException
Creates a new exception object.
DataSinkException(Throwable) - Constructor for class org.apache.ddlutils.io.DataSinkException
Creates a new exception object.
DataSinkException(String, Throwable) - Constructor for class org.apache.ddlutils.io.DataSinkException
Creates a new exception object.
DataToDatabaseSink - class org.apache.ddlutils.io.DataToDatabaseSink.
Data sink that directly inserts the beans into the database.
DataToDatabaseSink(Platform, Database) - Constructor for class org.apache.ddlutils.io.DataToDatabaseSink
Creates a new sink instance.
DataWriter - class org.apache.ddlutils.io.DataWriter.
Writes dyna beans matching a specified database model into an XML file.
DataWriter(OutputStream) - Constructor for class org.apache.ddlutils.io.DataWriter
Creates a data writer instance using UTF-8 encoding.
DataWriter(OutputStream, String) - Constructor for class org.apache.ddlutils.io.DataWriter
Creates a data writer instance.
DataWriter(Writer, String) - Constructor for class org.apache.ddlutils.io.DataWriter
Creates a data writer instance using the specified writer.
DataWriterException - exception org.apache.ddlutils.io.DataWriterException.
Exception generated by the DataWriter.
DataWriterException() - Constructor for class org.apache.ddlutils.io.DataWriterException
Creates a new exception object.
DataWriterException(String) - Constructor for class org.apache.ddlutils.io.DataWriterException
Creates a new exception object.
DataWriterException(Throwable) - Constructor for class org.apache.ddlutils.io.DataWriterException
Creates a new exception object.
DataWriterException(String, Throwable) - Constructor for class org.apache.ddlutils.io.DataWriterException
Creates a new exception object.
Database - class org.apache.ddlutils.model.Database.
Represents the database model, ie.
Database() - Constructor for class org.apache.ddlutils.model.Database
 
DatabaseCommand - class org.apache.ddlutils.task.DatabaseCommand.
Base type for commands that have the database info embedded.
DatabaseCommand() - Constructor for class org.apache.ddlutils.task.DatabaseCommand
 
DatabaseCommandWithCreationParameters - class org.apache.ddlutils.task.DatabaseCommandWithCreationParameters.
Base type for database commands that use creation parameters.
DatabaseCommandWithCreationParameters() - Constructor for class org.apache.ddlutils.task.DatabaseCommandWithCreationParameters
 
DatabaseDataIO - class org.apache.ddlutils.io.DatabaseDataIO.
Provides basic live database data <-> XML functionality.
DatabaseDataIO() - Constructor for class org.apache.ddlutils.io.DatabaseDataIO
 
DatabaseIO - class org.apache.ddlutils.io.DatabaseIO.
This class provides functions to read and write database models from/to XML.
DatabaseIO() - Constructor for class org.apache.ddlutils.io.DatabaseIO
 
DatabaseMetaDataWrapper - class org.apache.ddlutils.platform.DatabaseMetaDataWrapper.
Wrapper class for database meta data that stores additional info.
DatabaseMetaDataWrapper() - Constructor for class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
 
DatabaseOperationException - exception org.apache.ddlutils.DatabaseOperationException.
This exception is thrown when a database operation failed.
DatabaseOperationException() - Constructor for class org.apache.ddlutils.DatabaseOperationException
Creates a new empty exception object.
DatabaseOperationException(String) - Constructor for class org.apache.ddlutils.DatabaseOperationException
Creates a new exception object.
DatabaseOperationException(Throwable) - Constructor for class org.apache.ddlutils.DatabaseOperationException
Creates a new exception object.
DatabaseOperationException(String, Throwable) - Constructor for class org.apache.ddlutils.DatabaseOperationException
Creates a new exception object.
DatabaseTaskBase - class org.apache.ddlutils.task.DatabaseTaskBase.
Base class for DdlUtils Ant tasks that operate on a database.
DatabaseTaskBase() - Constructor for class org.apache.ddlutils.task.DatabaseTaskBase
 
DatabaseTaskBase.VerbosityLevel - class org.apache.ddlutils.task.DatabaseTaskBase.VerbosityLevel.
Helper class that defines the possible values for the verbosity attribute.
DatabaseTaskBase.VerbosityLevel() - Constructor for class org.apache.ddlutils.task.DatabaseTaskBase.VerbosityLevel
Creates an uninitialized verbosity level object.
DatabaseTaskBase.VerbosityLevel(String) - Constructor for class org.apache.ddlutils.task.DatabaseTaskBase.VerbosityLevel
Creates an initialized verbosity level object.
DatabaseTestHelper - class org.apache.ddlutils.util.DatabaseTestHelper.
Class that provides utility stuff for cpmaring data in databases.
DatabaseTestHelper() - Constructor for class org.apache.ddlutils.util.DatabaseTestHelper
 
DatabaseToDdlTask - class org.apache.ddlutils.task.DatabaseToDdlTask.
Task for getting structural info and data from a live database.
DatabaseToDdlTask() - Constructor for class org.apache.ddlutils.task.DatabaseToDdlTask
 
DateConverter - class org.apache.ddlutils.io.converters.DateConverter.
Converts between Date and String using the standard representation "yyyy", or "yyyy-mm", or "yyyy-mm-dd".
DateConverter() - Constructor for class org.apache.ddlutils.io.converters.DateConverter
Creates a new date converter object.
Db2Builder - class org.apache.ddlutils.platform.db2.Db2Builder.
The SQL Builder for DB2.
Db2Builder(Platform) - Constructor for class org.apache.ddlutils.platform.db2.Db2Builder
Creates a new builder instance.
Db2ModelReader - class org.apache.ddlutils.platform.db2.Db2ModelReader.
Reads a database model from a Db2 UDB database.
Db2ModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.db2.Db2ModelReader
Creates a new model reader for Db2 databases.
Db2Platform - class org.apache.ddlutils.platform.db2.Db2Platform.
The DB2 platform implementation.
Db2Platform() - Constructor for class org.apache.ddlutils.platform.db2.Db2Platform
Creates a new platform instance.
Db2v8Builder - class org.apache.ddlutils.platform.db2.Db2v8Builder.
The SQL Builder for DB2 v8 and above.
Db2v8Builder(Platform) - Constructor for class org.apache.ddlutils.platform.db2.Db2v8Builder
Creates a new builder instance.
Db2v8Platform - class org.apache.ddlutils.platform.db2.Db2v8Platform.
The DB2 platform implementation for DB2 v8 and above.
Db2v8Platform() - Constructor for class org.apache.ddlutils.platform.db2.Db2v8Platform
Creates a new platform instance.
DdlToDatabaseTask - class org.apache.ddlutils.task.DdlToDatabaseTask.
Task for performing operations on a live database.
DdlToDatabaseTask() - Constructor for class org.apache.ddlutils.task.DdlToDatabaseTask
 
DdlUtilsException - exception org.apache.ddlutils.DdlUtilsException.
Base class for DdlUtils exceptions.
DdlUtilsException() - Constructor for class org.apache.ddlutils.DdlUtilsException
Creates a new empty exception object.
DdlUtilsException(String) - Constructor for class org.apache.ddlutils.DdlUtilsException
Creates a new exception object.
DdlUtilsException(Throwable) - Constructor for class org.apache.ddlutils.DdlUtilsException
Creates a new exception object.
DdlUtilsException(String, Throwable) - Constructor for class org.apache.ddlutils.DdlUtilsException
Creates a new exception object.
DefaultValueHelper - class org.apache.ddlutils.platform.DefaultValueHelper.
Helper class for dealing with default values, e.g.
DefaultValueHelper() - Constructor for class org.apache.ddlutils.platform.DefaultValueHelper
 
DerbyBuilder - class org.apache.ddlutils.platform.derby.DerbyBuilder.
The SQL Builder for Derby.
DerbyBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.derby.DerbyBuilder
Creates a new builder instance.
DerbyModelReader - class org.apache.ddlutils.platform.derby.DerbyModelReader.
Reads a database model from a Derby database.
DerbyModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.derby.DerbyModelReader
Creates a new model reader for Derby databases.
DerbyPlatform - class org.apache.ddlutils.platform.derby.DerbyPlatform.
The platform implementation for Derby.
DerbyPlatform() - Constructor for class org.apache.ddlutils.platform.derby.DerbyPlatform
Creates a new Derby platform instance.
DigesterRules - class org.apache.ddlutils.io.DigesterRules.
An extended rules implementation that is able to match case-insensitively.
DigesterRules() - Constructor for class org.apache.ddlutils.io.DigesterRules
 
DropDatabaseCommand - class org.apache.ddlutils.task.DropDatabaseCommand.
Sub task for dropping the target database.
DropDatabaseCommand() - Constructor for class org.apache.ddlutils.task.DropDatabaseCommand
 
DumpMetadataTask - class org.apache.ddlutils.task.DumpMetadataTask.
A simple helper task that dumps information about a database using JDBC.
DumpMetadataTask() - Constructor for class org.apache.ddlutils.task.DumpMetadataTask
 
DynaClassCache - class org.apache.ddlutils.dynabean.DynaClassCache.
Provides a cache of dyna class instances for a specific model, as well as helper methods for dealing with these classes.
DynaClassCache() - Constructor for class org.apache.ddlutils.dynabean.DynaClassCache
 
DynaSqlCreateRule - class org.apache.ddlutils.io.DynaSqlCreateRule.
A digester rule for creating dyna beans.
DynaSqlCreateRule(Database, Table, DataSink) - Constructor for class org.apache.ddlutils.io.DynaSqlCreateRule
Creates a new creation rule that creates dyna bean instances.
decode(String) - Method in class org.apache.ddlutils.io.BinaryObjectsHelper
Decodes an object from the serialized form encoded in the given Base64 string.
decodeByteArray(String) - Method in class org.apache.ddlutils.io.BinaryObjectsHelper
Decodes the given Base64 form to a byte array.
delete(Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Deletes the given bean from the database, assuming the primary key values are specified.
delete(Connection, Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Deletes the row which maps to the given bean from the database.
delete(Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Deletes the given bean from the database, assuming the primary key values are specified.
delete(Connection, Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Deletes the row which maps to the given bean from the database.
deserialize(byte[]) - Method in class org.apache.ddlutils.io.BinaryObjectsHelper
Deserializes the object from its byte array representation.
determineAutoIncrementColumns(Table) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Helper method that determines the auto increment status using Firebird's system tables.
determineAutoIncrementColumns(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Helper method that determines the auto increment status using Interbase's system tables.
determineAutoIncrementColumns(Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
Helper method that determines the auto increment status using Firebird's system tables.
determineAutoIncrementFromResultSetMetaData(Table, Column[]) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Helper method that determines the auto increment status for the given columns via the ResultSetMetaData.isAutoIncrement(int) method.
determineBooleanTypeCode() - Static method in class org.apache.ddlutils.util.Jdbc3Utils
Determines the type code for the BOOLEAN JDBC type.
determineDatabaseType(DataSource) - Method in class org.apache.ddlutils.PlatformUtils
Tries to determine the database type for the given data source.
determineDatabaseType(DataSource, String, String) - Method in class org.apache.ddlutils.PlatformUtils
Tries to determine the database type for the given data source.
determineDatabaseType(String, String) - Method in class org.apache.ddlutils.PlatformUtils
Tries to determine the database type for the given jdbc driver and connection url.
determineDatalinkTypeCode() - Static method in class org.apache.ddlutils.util.Jdbc3Utils
Determines the type code for the DATALINK JDBC type.
determineExtraColumnInfo(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Helper method that determines extra column info from the system tables: default value, precision, scale.
determineSchemaOf(Connection, String, Table) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Deprecated. Will be removed once full schema support is in place
determineSchemaOf(Connection, String, Table) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Tries to find the schema to which the given table belongs.
determineSchemaOf(Connection, String, Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Tries to find the schema to which the given table belongs.
dropAutoIncrementSequence(Table, Column) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
Drops the sequence used for the auto-increment of the given column.
dropAutoIncrementSequence(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Drops the sequence used for the auto-increment of the given column.
dropAutoIncrementTrigger(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Drops the trigger used for the auto-increment of the given column.
dropDatabase(String, String, String, String) - Method in interface org.apache.ddlutils.Platform
Drops the database specified by the given parameters.
dropDatabase(String, String, String, String) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Drops the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to retrieve the connection information from it without establishing a connection.
dropDatabase(String, String, String, String) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
Drops the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to retrieve the connection information from it without establishing a connection.
dropExternalForeignKeys(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Creates external foreignkey drop statements.
dropExternalForeignKeys(Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Creates external foreignkey drop statements.
dropExternalForeignKeys(Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Creates external foreignkey drop statements.
dropExternalForeignKeys(Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Creates external foreignkey drop statements.
dropTable(Database, Table, boolean) - Method in interface org.apache.ddlutils.Platform
Drops the specified table and all foreign keys pointing to it.
dropTable(Connection, Database, Table, boolean) - Method in interface org.apache.ddlutils.Platform
Drops the specified table and all foreign keys pointing to it.
dropTable(Connection, Database, Table, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Drops the specified table and all foreign keys pointing to it.
dropTable(Database, Table, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Drops the specified table and all foreign keys pointing to it.
dropTable(Database, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL required to drop the given table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.axion.AxionBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle10Builder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTable(Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Outputs the DDL to drop the table. Note that this method does not drop foreign keys to this table. Use SqlBuilder.dropTable(Database, Table) if you want that.
dropTables(Database, boolean) - Method in interface org.apache.ddlutils.Platform
Drops the tables defined in the given database.
dropTables(Connection, Database, boolean) - Method in interface org.apache.ddlutils.Platform
Drops the tables defined in the given database.
dropTables(Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Drops the tables defined in the given database.
dropTables(Connection, Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Drops the tables defined in the given database.
dropTables(Database) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL required to drop the database.
dropTemporaryTable(Database, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL to drop the given temporary table.
dropTemporaryTable(Database, Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Outputs the DDL to drop the given temporary table. Per default this is simply a call to SqlBuilder.dropTable(Table).

E

encode(Object) - Method in class org.apache.ddlutils.io.BinaryObjectsHelper
Encodes the serialized form of the given object to its Base64 form.
encodeByteArray(byte[]) - Method in class org.apache.ddlutils.io.BinaryObjectsHelper
Encodes the given byte array to its Base64 form.
end() - Method in interface org.apache.ddlutils.io.DataSink
Notifies the sink that all beans have been added.
end() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Notifies the sink that all beans have been added.
end(String, String) - Method in class org.apache.ddlutils.io.DynaSqlCreateRule
end() - Method in class org.apache.ddlutils.io.SetColumnPropertyFromSubElementRule
equals(Object) - Method in class org.apache.ddlutils.io.Identity
equals(Object) - Method in class org.apache.ddlutils.model.Column
equals(Object) - Method in class org.apache.ddlutils.model.Database
equals(Object) - Method in class org.apache.ddlutils.model.ForeignKey
equals(Object) - Method in class org.apache.ddlutils.model.IndexColumn
equals(Object) - Method in class org.apache.ddlutils.model.NonUniqueIndex
equals(Object) - Method in class org.apache.ddlutils.model.Reference
equals(Object) - Method in class org.apache.ddlutils.model.Table
equals(Object) - Method in class org.apache.ddlutils.model.UniqueIndex
equalsIgnoreCase(ForeignKey) - Method in class org.apache.ddlutils.model.ForeignKey
Compares this foreign key to the given one while ignoring the case of identifiers.
equalsIgnoreCase(Index) - Method in interface org.apache.ddlutils.model.Index
Compares this index to the given one while ignoring the case of identifiers.
equalsIgnoreCase(IndexColumn) - Method in class org.apache.ddlutils.model.IndexColumn
Compares this index column to the given one while ignoring the case of identifiers.
equalsIgnoreCase(Index) - Method in class org.apache.ddlutils.model.NonUniqueIndex
Compares this index to the given one while ignoring the case of identifiers.
equalsIgnoreCase(Reference) - Method in class org.apache.ddlutils.model.Reference
Compares this reference to the given one while ignoring the case of identifiers.
equalsIgnoreCase(Index) - Method in class org.apache.ddlutils.model.UniqueIndex
Compares this index to the given one while ignoring the case of identifiers.
escapeStringValue(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Escapes the necessary characters in given string value.
evaluate(Object) - Method in class org.apache.ddlutils.util.MultiInstanceofPredicate
evaluateBatch(String, boolean) - Method in interface org.apache.ddlutils.Platform
Executes a series of sql statements which must be seperated by the delimiter configured as PlatformInfo.getSqlCommandDelimiter() of the info object of this platform.
evaluateBatch(Connection, String, boolean) - Method in interface org.apache.ddlutils.Platform
Executes a series of sql statements which must be seperated by the delimiter configured as PlatformInfo.getSqlCommandDelimiter() of the info object of this platform.
evaluateBatch(String, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Executes a series of sql statements which must be seperated by the delimiter configured as PlatformInfo.getSqlCommandDelimiter() of the info object of this platform.
evaluateBatch(Connection, String, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Executes a series of sql statements which must be seperated by the delimiter configured as PlatformInfo.getSqlCommandDelimiter() of the info object of this platform. TODO: consider outputting a collection of String or some kind of statement object from the SqlBuilder instead of having to parse strings here
execute(DatabaseTaskBase, Database) - Method in interface org.apache.ddlutils.task.Command
Executes this command.
execute(DatabaseTaskBase, Database) - Method in class org.apache.ddlutils.task.CreateDatabaseCommand
Executes this command.
execute() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
execute(DatabaseTaskBase, Database) - Method in class org.apache.ddlutils.task.DropDatabaseCommand
Executes this command.
execute() - Method in class org.apache.ddlutils.task.DumpMetadataTask
execute(DatabaseTaskBase, Database) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
Executes this command.
execute(DatabaseTaskBase, Database) - Method in class org.apache.ddlutils.task.WriteDataToFileCommand
Executes this command.
execute(DatabaseTaskBase, Database) - Method in class org.apache.ddlutils.task.WriteDtdToFileCommand
Executes this command.
execute(DatabaseTaskBase, Database) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Executes this command.
execute(DatabaseTaskBase, Database) - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
Executes this command.
execute(DatabaseTaskBase, Database) - Method in class org.apache.ddlutils.task.WriteSchemaToFileCommand
Executes this command.
execute(Object) - Method in class org.apache.ddlutils.util.CallbackClosure
executeCommands(Database) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Executes the commands.
exists(Connection, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Determines whether the given dyna bean is stored in the database.
extractColumnValue(ResultSet, String, int, int) - Method in class org.apache.ddlutils.platform.PlatformImplBase
This is the core method to retrieve a value for a column from a result set.
extractColumnValue(ResultSet, String, int, int) - Method in class org.apache.ddlutils.platform.axion.AxionPlatform
This is the core method to retrieve a value for a column from a result set. Its primary purpose is to call the appropriate method on the result set, and to provide an extension point where database-specific implementations can change this behavior.
extractColumnValue(ResultSet, String, int, int) - Method in class org.apache.ddlutils.platform.interbase.InterbasePlatform
This is the core method to retrieve a value for a column from a result set. Its primary purpose is to call the appropriate method on the result set, and to provide an extension point where database-specific implementations can change this behavior.
extractColumnValue(ResultSet, String, int, int) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
This is the core method to retrieve a value for a column from a result set. Its primary purpose is to call the appropriate method on the result set, and to provide an extension point where database-specific implementations can change this behavior.

F

FLOAT - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.FLOAT constant.
FirebirdBuilder - class org.apache.ddlutils.platform.firebird.FirebirdBuilder.
The SQL Builder for the FireBird database.
FirebirdBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Creates a new builder instance.
FirebirdModelReader - class org.apache.ddlutils.platform.firebird.FirebirdModelReader.
The Jdbc Model Reader for Firebird.
FirebirdModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Creates a new model reader for Firebird databases.
FirebirdPlatform - class org.apache.ddlutils.platform.firebird.FirebirdPlatform.
The platform implementation for the Firebird database.
FirebirdPlatform() - Constructor for class org.apache.ddlutils.platform.firebird.FirebirdPlatform
Creates a new Firebird platform instance.
ForeignKey - class org.apache.ddlutils.model.ForeignKey.
Represents a database foreign key.
ForeignKey() - Constructor for class org.apache.ddlutils.model.ForeignKey
Creates a new foreign key object that has no name.
ForeignKey(String) - Constructor for class org.apache.ddlutils.model.ForeignKey
Creates a new foreign key object.
fetch(Database, String) - Method in interface org.apache.ddlutils.Platform
Queries for a list of dyna beans representing rows of the given query.
fetch(Database, String, Collection) - Method in interface org.apache.ddlutils.Platform
Queries for a list of dyna beans representing rows of the given query.
fetch(Database, String, Table[]) - Method in interface org.apache.ddlutils.Platform
Queries for a list of dyna beans representing rows of the given query.
fetch(Database, String, Collection, Table[]) - Method in interface org.apache.ddlutils.Platform
Queries for a list of dyna beans representing rows of the given query.
fetch(Database, String, int, int) - Method in interface org.apache.ddlutils.Platform
Queries for a list of dyna beans representing rows of the given query.
fetch(Database, String, Collection, int, int) - Method in interface org.apache.ddlutils.Platform
Queries for a list of dyna beans representing rows of the given query.
fetch(Database, String, Table[], int, int) - Method in interface org.apache.ddlutils.Platform
Queries for a list of dyna beans representing rows of the given query.
fetch(Database, String, Collection, Table[], int, int) - Method in interface org.apache.ddlutils.Platform
Queries for a list of dyna beans representing rows of the given query.
fetch(Database, String) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String) method all beans will be materialized and the connection will be closed before returning the beans.
fetch(Database, String, Table[]) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String) method all beans will be materialized and the connection will be closed before returning the beans.
fetch(Database, String, int, int) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String) method all beans will be materialized and the connection will be closed before returning the beans. Also, the two int parameters specify which rows of the result set to use. If there are more rows than desired, they will be ignored (and not read from the database).
fetch(Database, String, Table[], int, int) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String, Table[]) method all beans will be materialized and the connection will be closed before returning the beans. Also, the two int parameters specify which rows of the result set to use. If there are more rows than desired, they will be ignored (and not read from the database).
fetch(Database, String, Collection) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String, Collection) method all beans will be materialized and the connection will be closed before returning the beans.
fetch(Database, String, Collection, int, int) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String, Collection) method all beans will be materialized and the connection will be closed before returning the beans. Also, the two int parameters specify which rows of the result set to use. If there are more rows than desired, they will be ignored (and not read from the database).
fetch(Database, String, Collection, Table[]) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String, Collection) method all beans will be materialized and the connection will be closed before returning the beans.
fetch(Database, String, Collection, Table[], int, int) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String, Collection, Table[]) method all beans will be materialized and the connection will be closed before returning the beans. Also, the two int parameters specify which rows of the result set to use. If there are more rows than desired, they will be ignored (and not read from the database).
fetch(Database, String, Collection, Table[], int, int) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String, Collection, Table[]) method all beans will be materialized and the connection will be closed before returning the beans. Also, the two int parameters specify which rows of the result set to use. If there are more rows than desired, they will be ignored (and not read from the database).
fetch(Database, String, Table[], int, int) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String, Table[]) method all beans will be materialized and the connection will be closed before returning the beans. Also, the two int parameters specify which rows of the result set to use. If there are more rows than desired, they will be ignored (and not read from the database).
finalize() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator
findColumn(String) - Method in class org.apache.ddlutils.model.Table
Finds the column with the specified name, using case insensitive matching.
findColumn(String, boolean) - Method in class org.apache.ddlutils.model.Table
Finds the column with the specified name, using case insensitive matching.
findCorrespondingForeignKey(Table, ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
Searches in the given table for a corresponding foreign key.
findForeignKey(ForeignKey) - Method in class org.apache.ddlutils.model.Table
Finds the foreign key in this table that is equal to the supplied foreign key.
findForeignKey(ForeignKey, boolean) - Method in class org.apache.ddlutils.model.Table
Finds the foreign key in this table that is equal to the supplied foreign key.
findIndex(String) - Method in class org.apache.ddlutils.model.Table
Finds the index with the specified name, using case insensitive matching.
findIndex(String, boolean) - Method in class org.apache.ddlutils.model.Table
Finds the index with the specified name, using case insensitive matching.
findTable(String) - Method in class org.apache.ddlutils.model.Database
Finds the table with the specified name, using case insensitive matching.
findTable(String, boolean) - Method in class org.apache.ddlutils.model.Database
Finds the table with the specified name, using case insensitive matching.

G

getAlterTablesSql(Database) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Database, CreationParameters) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(String, String, String[], Database) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(String, String, String[], Database, CreationParameters) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Connection, Database) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Connection, Database, CreationParameters) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Connection, String, String, String[], Database) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Connection, String, String, String[], Database, CreationParameters) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Database) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Database, CreationParameters) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Connection, Database) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Connection, Database, CreationParameters) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(String, String, String[], Database) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(String, String, String[], Database, CreationParameters) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Connection, String, String, String[], Database) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Connection, String, String, String[], Database, CreationParameters) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for altering the database schema so that it match the given model.
getAutoIncrementColumns() - Method in class org.apache.ddlutils.model.Table
Returns the auto increment columns in this table.
getBareNativeType(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the bare database-native type for the given column without any size specifies.
getBatchResultMessage(String, int, int) - Static method in class org.apache.ddlutils.util.Jdbc3Utils
Returns the logging message corresponding to the given result code of a batch message.
getBatchSize() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Returns the (maximum) number of beans to insert in one batch.
getBatchSize() - Method in class org.apache.ddlutils.io.DatabaseDataIO
Returns the batch size override.
getBetwixtMapping() - Method in class org.apache.ddlutils.io.DatabaseIO
Returns the commons-betwixt mapping file as an InputSource object.
getCatalog() - Method in class org.apache.ddlutils.model.Table
Returns the catalog of this table as read from the database.
getCatalog() - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Returns the catalog in the database to read.
getCatalogPattern() - Method in class org.apache.ddlutils.task.DatabaseCommand
Returns the catalog pattern if any.
getCatalogPattern() - Method in class org.apache.ddlutils.task.PlatformConfiguration
Returns the catalog pattern if any.
getChangedColumn() - Method in interface org.apache.ddlutils.alteration.ColumnChange
Returns the affected column from the original model.
getChangedColumn() - Method in class org.apache.ddlutils.alteration.ColumnDataTypeChange
Returns the column.
getChangedColumn() - Method in class org.apache.ddlutils.alteration.ColumnDefaultValueChange
Returns the column.
getChangedColumn() - Method in class org.apache.ddlutils.alteration.ColumnRequiredChange
Returns the column.
getChangedColumn() - Method in class org.apache.ddlutils.alteration.ColumnSizeChange
Returns the column.
getChangedTable() - Method in interface org.apache.ddlutils.alteration.TableChange
Returns the affected table from the original model.
getChangedTable() - Method in class org.apache.ddlutils.alteration.TableChangeImplBase
Returns the affected table.
getColumn() - Method in class org.apache.ddlutils.alteration.ColumnAutoIncrementChange
Returns the column.
getColumn() - Method in class org.apache.ddlutils.alteration.RemoveColumnChange
Returns the column.
getColumn() - Method in class org.apache.ddlutils.dynabean.SqlDynaProperty
Returns the column for which this property is defined.
getColumn() - Method in class org.apache.ddlutils.io.DataConverterRegistration
Returns the column for which this converter is defined.
getColumn(int) - Method in interface org.apache.ddlutils.model.Index
Returns the indicated column making up this index.
getColumn() - Method in class org.apache.ddlutils.model.IndexColumn
Returns the indexed column.
getColumn(int) - Method in class org.apache.ddlutils.model.IndexImpBase
Returns the indicated column making up this index.
getColumn(int) - Method in class org.apache.ddlutils.model.Table
Returns the column at the specified position.
getColumnCount() - Method in interface org.apache.ddlutils.model.Index
Returns the number of columns that make up this index.
getColumnCount() - Method in class org.apache.ddlutils.model.IndexImpBase
Returns the number of columns that make up this index.
getColumnCount() - Method in class org.apache.ddlutils.model.Table
Returns the number of columns in this table.
getColumnIndex(Column) - Method in class org.apache.ddlutils.model.Table
Determines the index of the given column.
getColumnName(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the column name.
getColumnValue(String) - Method in class org.apache.ddlutils.io.Identity
Returns the value of the indicated identity columns.
getColumns() - Method in interface org.apache.ddlutils.model.Index
Returns the columns that make up this index.
getColumns() - Method in class org.apache.ddlutils.model.IndexImpBase
Returns the columns that make up this index.
getColumns() - Method in class org.apache.ddlutils.model.Table
Returns the columns in this table.
getColumns(String, String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Convenience method to return the column meta data using the configured catalog and schema pattern.
getColumnsForColumn() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the descriptors for the columns to be read from the column meta data result set.
getColumnsForFK() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the descriptors for the columns to be read from the foreign key meta data result set.
getColumnsForIndex() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the descriptors for the columns to be read from the index meta data result set.
getColumnsForPK() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the descriptors for the columns to be read from the primary key meta data result set.
getColumnsForTable() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the descriptors for the columns to be read from the table meta data result set.
getCommands() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Returns the commands.
getCommentPrefix() - Method in class org.apache.ddlutils.PlatformInfo
Returns the string that denotes the beginning of a comment.
getCommentSuffix() - Method in class org.apache.ddlutils.PlatformInfo
Returns the string that denotes the end of a comment.
getConfiguredDataReader(Platform, Database) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Returns a data reader instance configured for the given platform (which needs to be connected to a live database) and model.
getConfiguredDataWriter(String, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Returns a data writer instance configured to write to the indicated file in the specified encoding.
getConfiguredDataWriter(OutputStream, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Returns a data writer instance configured to write to the given output stream in the specified encoding.
getConfiguredDataWriter(Writer, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Returns a data writer instance configured to write to the given output writer in the specified encoding.
getConnection() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the active connection.
getConstraintName(String, Table, String, String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the constraint name.
getConverter() - Method in class org.apache.ddlutils.io.DataConverterRegistration
Returns the converter.
getConverterConfiguration() - Method in class org.apache.ddlutils.io.DataReader
Returns the converter configuration of this data reader.
getConverterConfiguration() - Method in class org.apache.ddlutils.io.DataWriter
Returns the converter configuration of this data reader.
getCreateTablesSql(Database, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for creating the tables defined in the database model.
getCreateTablesSql(Database, CreationParameters, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for creating the tables defined in the database model.
getCreateTablesSql(Database, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for creating the tables defined in the database model.
getCreateTablesSql(Database, CreationParameters, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for creating the tables defined in the database model.
getDataIO() - Method in class org.apache.ddlutils.task.ConvertingDatabaseCommand
Returns the database data io object.
getDataSource() - Method in interface org.apache.ddlutils.Platform
Returns the data source that this platform uses to access the database.
getDataSource() - Method in class org.apache.ddlutils.task.DatabaseCommand
Returns the data source to use for accessing the database.
getDataSource() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Returns the data source.
getDataSource() - Method in class org.apache.ddlutils.task.PlatformConfiguration
Returns the data source to use for accessing the database.
getDataSource() - Method in class org.apache.ddlutils.util.JdbcSupport
Returns the data source used for communicating with the database.
getDatabase(Connection, String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Reads the database model from the given connection.
getDatabase(Connection, String, String, String, String[]) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Reads the database model from the given connection.
getDatabaseType() - Method in class org.apache.ddlutils.task.DatabaseCommand
Returns the database type.
getDatabaseType() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Returns the database type.
getDatabaseType() - Method in class org.apache.ddlutils.task.PlatformConfiguration
Returns the database type.
getDefaultCatalogPattern() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the catalog(s) in the database to read per default.
getDefaultColumnPattern() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the default pattern to read the relevant columns from the database.
getDefaultSchemaPattern() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the schema(s) in the database to read per default.
getDefaultSize(int) - Method in class org.apache.ddlutils.PlatformInfo
Returns the default size value for the given type, if any.
getDefaultTablePattern() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the default pattern to read the relevant tables from the database.
getDefaultTableTypes() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the table types to recognize per default.
getDefaultValue() - Method in class org.apache.ddlutils.model.Column
Returns the default value of the column.
getDefaultValue() - Method in class org.apache.ddlutils.platform.MetaDataColumnDescriptor
Returns the default value.
getDefaultValueHelper() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the default value helper.
getDeleteSql(Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Returns the sql for deleting the given bean from the database.
getDeleteSql(Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the sql for deleting the given bean from the database.
getDeleteSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Creates the SQL for deleting an object from the specified table.
getDeleteSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Creates the SQL for deleting an object from the specified table. If values are given then a concrete delete statement is created, otherwise an delete statement usable in a prepared statement is build.
getDelimitedIdentifier(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the delimited version of the identifier (if configured).
getDelimiterToken() - Method in class org.apache.ddlutils.PlatformInfo
Returns the text that is used to delimit identifiers (eg.
getDescription() - Method in class org.apache.ddlutils.model.Column
Returns the description of the column.
getDescription() - Method in class org.apache.ddlutils.model.Table
Returns the description of the table.
getDisableIdentityOverrideSql(Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Returns the SQL to disable identity override mode.
getDisableIdentityOverrideSql(Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Returns the SQL to disable identity override mode.
getDropTableSql(Database, Table, boolean) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for dropping the given table and all foreign keys pointing to it.
getDropTableSql(Database, Table, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for dropping the given table and all foreign keys pointing to it.
getDropTablesSql(Database, boolean) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for dropping the tables defined in the given database.
getDropTablesSql(Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the SQL for dropping the tables defined in the given database.
getDynaClass(Table) - Method in class org.apache.ddlutils.dynabean.DynaClassCache
Returns the SqlDynaClass for the given table.
getDynaClass(DynaBean) - Method in class org.apache.ddlutils.dynabean.DynaClassCache
Returns the SqlDynaClass for the given bean.
getDynaClassFor(String) - Method in class org.apache.ddlutils.model.Database
Returns the SqlDynaClass for the given table name.
getDynaClassFor(DynaBean) - Method in class org.apache.ddlutils.model.Database
Returns the SqlDynaClass for the given dyna bean.
getEnableIdentityOverrideSql(Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Returns the SQL to enable identity override mode.
getEnableIdentityOverrideSql(Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Returns the SQL to enable identity override mode.
getEnum(String) - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
Returns the enum value that corresponds to the given textual representation.
getEnum(int) - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
Returns the enum value that corresponds to the given integer representation.
getEnumList() - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
Returns a list of all enum values.
getEnumMap() - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
Returns the map of enum values.
getFilteredParameters(Database, String, boolean) - Method in class org.apache.ddlutils.task.DatabaseCommandWithCreationParameters
Filters the parameters for the given model and platform.
getFirstReference() - Method in class org.apache.ddlutils.model.ForeignKey
Returns the first reference if it exists.
getForeignColumn() - Method in class org.apache.ddlutils.model.Reference
Returns the foreign column.
getForeignColumnName() - Method in class org.apache.ddlutils.model.Reference
Returns the name of the foreign column.
getForeignKey() - Method in class org.apache.ddlutils.alteration.RemoveForeignKeyChange
Returns the foreign key to be removed.
getForeignKey(int) - Method in class org.apache.ddlutils.model.Table
Returns the foreign key at the given position.
getForeignKeyCount() - Method in class org.apache.ddlutils.model.Table
Returns the number of foreign keys.
getForeignKeyName() - Method in class org.apache.ddlutils.io.Identity
Returns the name of the foreign key whose referenced object this identity represents.
getForeignKeyName(Table, ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the name to be used for the given foreign key.
getForeignKeys() - Method in class org.apache.ddlutils.model.Table
Returns the foreign keys of this table.
getForeignKeys(String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Convenience method to return the foreign key meta data using the configured catalog and schema pattern.
getForeignTable() - Method in class org.apache.ddlutils.model.ForeignKey
Returns the foreign table.
getForeignTableName() - Method in class org.apache.ddlutils.model.ForeignKey
Returns the name of the foreign table.
getGeneratorName(Table, Column) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Determines the name of the generator for an auto-increment column.
getGeneratorName(Table, Column) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Determines the name of the generator for an auto-increment column.
getIdMethod() - Method in class org.apache.ddlutils.model.Database
Returns the method for generating primary key values.
getIdentityStatusReadingSupported() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the platform is able to read the auto-increment status for columns from an existing database.
getIndent() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the string used to indent the SQL.
getIndex() - Method in class org.apache.ddlutils.alteration.RemoveIndexChange
Returns the index.
getIndex(int) - Method in class org.apache.ddlutils.model.Table
Returns the index at the specified position.
getIndexCount() - Method in class org.apache.ddlutils.model.Table
Returns the number of indices.
getIndexName(Index) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the index name.
getIndices() - Method in class org.apache.ddlutils.model.Table
Returns the indices of this table.
getIndices(String, boolean, boolean) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Convenience method to return the index meta data using the configured catalog and schema pattern.
getInsertSql(Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Returns the sql for inserting the given bean.
getInsertSql(Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the sql for inserting the given bean.
getInsertSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Creates the SQL for inserting an object into the specified table.
getInsertSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Creates the SQL for inserting an object into the specified table. If values are given then a concrete insert statement is created, otherwise an insert statement usable in a prepared statement is build.
getJavaName() - Method in class org.apache.ddlutils.model.Column
Returns the java name of the column.
getJdbcType() - Method in class org.apache.ddlutils.platform.MetaDataColumnDescriptor
Returns the jdbc type to read from the result set.
getJdbcTypeCode(String) - Static method in class org.apache.ddlutils.model.TypeMap
Returns the JDBC type code (one of the Types constants) that corresponds to the given JDBC type name.
getJdbcTypeName(int) - Static method in class org.apache.ddlutils.model.TypeMap
Returns the JDBC type name that corresponds to the given type code (one of the Types constants).
getLocalColumn() - Method in class org.apache.ddlutils.model.Reference
Returns the local column.
getLocalColumnName() - Method in class org.apache.ddlutils.model.Reference
Returns the name of the local column.
getLog() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the log for this platform.
getMaxColumnNameLength() - Method in class org.apache.ddlutils.PlatformInfo
Returns the maximum number of characters that a column name can have.
getMaxColumnNameLength() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the maximum number of characters that a column name can have.
getMaxConstraintNameLength() - Method in class org.apache.ddlutils.PlatformInfo
Returns the maximum number of characters that a constraint name can have.
getMaxConstraintNameLength() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the maximum number of characters that a constraint name can have.
getMaxForeignKeyNameLength() - Method in class org.apache.ddlutils.PlatformInfo
Returns the maximum number of characters that a foreign key name can have.
getMaxForeignKeyNameLength() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the maximum number of characters that a foreign key name can have.
getMaxTableNameLength() - Method in class org.apache.ddlutils.PlatformInfo
Returns the maximum number of characters that a table name can have.
getMaxTableNameLength() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the maximum number of characters that a table name can have.
getMetaData() - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Returns the database meta data.
getModel() - Method in class org.apache.ddlutils.io.DataReader
Returns the database model.
getModelReader() - Method in interface org.apache.ddlutils.Platform
Returns the model reader (which reads a database model from a live database) for this platform.
getModelReader() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the model reader (which reads a database model from a live database) for this platform.
getName() - Method in interface org.apache.ddlutils.Platform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.model.Column
Returns the name of the column.
getName() - Method in class org.apache.ddlutils.model.Database
Returns the name of this database model.
getName() - Method in class org.apache.ddlutils.model.ForeignKey
Returns the name of this foreign key.
getName() - Method in interface org.apache.ddlutils.model.Index
Returns the name of the index.
getName() - Method in class org.apache.ddlutils.model.IndexColumn
Returns the name of the column.
getName() - Method in class org.apache.ddlutils.model.IndexImpBase
Returns the name of the index.
getName() - Method in class org.apache.ddlutils.model.Table
Returns the name of the table.
getName() - Method in class org.apache.ddlutils.platform.MetaDataColumnDescriptor
Returns the name.
getName() - Method in class org.apache.ddlutils.platform.axion.AxionPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.db2.Db2Platform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.derby.DerbyPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.firebird.FirebirdPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.interbase.InterbasePlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.maxdb.MaxDbPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.mckoi.MckoiPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.mysql.MySql50Platform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.mysql.MySqlPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.oracle.Oracle10Platform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.oracle.Oracle8Platform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.oracle.Oracle9Platform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.sapdb.SapDbPlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.sybase.SybaseASE15Platform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
Returns the name of the database that this platform is for.
getName() - Method in class org.apache.ddlutils.task.Parameter
Returns the name.
getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the native default value for the column.
getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Returns the native default value for the column.
getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
Returns the native default value for the column.
getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Returns the native default value for the column.
getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Returns the native default value for the column.
getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Returns the native default value for the column.
getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Returns the native default value for the column.
getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Returns the native default value for the column.
getNativeType(int) - Method in class org.apache.ddlutils.PlatformInfo
Returns the database-native type for the given type code.
getNativeType(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the database-native type for the given column.
getNewColumn() - Method in class org.apache.ddlutils.alteration.AddColumnChange
Returns the new column.
getNewDefaultValue() - Method in class org.apache.ddlutils.alteration.ColumnDefaultValueChange
Returns the new default value.
getNewForeignKey() - Method in class org.apache.ddlutils.alteration.AddForeignKeyChange
Returns the new foreign key.
getNewIndex() - Method in class org.apache.ddlutils.alteration.AddIndexChange
Returns the new index.
getNewPosition(Column) - Method in class org.apache.ddlutils.alteration.ColumnOrderChange
Returns the new position of the given source column.
getNewPrimaryKeyColumns() - Method in class org.apache.ddlutils.alteration.PrimaryKeyChange
Returns the columns making up the new primary key.
getNewScale() - Method in class org.apache.ddlutils.alteration.ColumnSizeChange
Returns the new scale of the column.
getNewSize() - Method in class org.apache.ddlutils.alteration.ColumnSizeChange
Returns the new size of the column.
getNewTable() - Method in class org.apache.ddlutils.alteration.AddTableChange
Returns the new table.
getNewTypeCode() - Method in class org.apache.ddlutils.alteration.ColumnDataTypeChange
Returns the JDBC type code of the new type.
getNextColumn() - Method in class org.apache.ddlutils.alteration.AddColumnChange
Returns the column before which the new column should be added.
getNextStatement() - Method in class org.apache.ddlutils.util.SqlTokenizer
Returns the next statement.
getNonPrimaryKeyProperties() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
Returns the properties for the non-primary keys of the corresponding table.
getNonUniqueIndices() - Method in class org.apache.ddlutils.model.Table
Gets a list of non-unique indices on this table.
getObject() - Method in class org.apache.ddlutils.io.WaitingObject
Returns the waiting object.
getObjectFromResultSet(ResultSet, String, Table) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Helper method esp.
getObjectFromResultSet(ResultSet, Column, int) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Helper method for retrieving the value for a column from the given result set using the type code of the column.
getOldPrimaryKeyColumns() - Method in class org.apache.ddlutils.alteration.PrimaryKeyChange
Returns the columns making up the original primary key.
getOrdinalPosition() - Method in class org.apache.ddlutils.model.IndexColumn
Returns the position within the owning index.
getParametersFor(Table) - Method in class org.apache.ddlutils.platform.CreationParameters
Returns the parameters for the given table.
getParsedDefaultValue() - Method in class org.apache.ddlutils.model.Column
Tries to parse the default value of the column and returns it as an object of the corresponding java type.
getPassword() - Method in interface org.apache.ddlutils.Platform
Returns the password that this platform shall use to access the database.
getPassword() - Method in class org.apache.ddlutils.util.JdbcSupport
Returns the password used to access the database.
getPendingFKs() - Method in class org.apache.ddlutils.io.WaitingObject
Returns the identities of the object that this object is waiting for.
getPlatform() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the platform that this model reader belongs to.
getPlatform() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the platform object.
getPlatform() - Method in class org.apache.ddlutils.task.DatabaseCommand
Creates the platform for the configured database.
getPlatform() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Creates the platform for the configured database.
getPlatform() - Method in class org.apache.ddlutils.task.PlatformConfiguration
Creates the platform for the configured database.
getPlatformConfiguration() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Creates the platform configuration.
getPlatformInfo() - Method in interface org.apache.ddlutils.Platform
Returns the info object for this platform.
getPlatformInfo() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns the platform specific settings.
getPlatformInfo() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the info object for this platform.
getPlatformInfo() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the platform info object.
getPrecisionRadix() - Method in class org.apache.ddlutils.model.Column
Returns the precision radix of the column.
getPreviousColumn() - Method in class org.apache.ddlutils.alteration.AddColumnChange
Returns the column after which the new column should be added.
getPrimaryKeyColumns() - Method in class org.apache.ddlutils.alteration.AddPrimaryKeyChange
Returns the primary key columns making up the new primary key.
getPrimaryKeyColumns() - Method in class org.apache.ddlutils.alteration.RemovePrimaryKeyChange
Returns the primary key columns making up the primary key.
getPrimaryKeyColumns() - Method in class org.apache.ddlutils.model.Table
Returns the primary key columns of this table.
getPrimaryKeyProperties() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
Returns the properties for the primary keys of the corresponding table.
getPrimaryKeys(String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Convenience method to return the primary key meta data using the configured catalog and schema pattern.
getQuotationOnStatement() - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Returns the statement that turns on the ability to write delimited identifiers.
getReader() - Method in class org.apache.ddlutils.io.DatabaseIO
Returns a new bean reader configured to read database models.
getRealTargetTableFor(Database, Table, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Creates the target table object that differs from the given target table only in the indices.
getReference(int) - Method in class org.apache.ddlutils.model.ForeignKey
Returns the indicated reference.
getReferenceCount() - Method in class org.apache.ddlutils.model.ForeignKey
Returns the number of references.
getReferences() - Method in class org.apache.ddlutils.model.ForeignKey
Returns the references.
getRegisteredConverter(Table, Column) - Method in class org.apache.ddlutils.io.ConverterConfiguration
Returns the converter registered for the specified column.
getScale() - Method in class org.apache.ddlutils.model.Column
Returns the scale of the column.
getSchema() - Method in class org.apache.ddlutils.model.Table
Returns the schema of this table as read from the database.
getSchemaPattern() - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Returns the schema in the database to read.
getSchemaPattern() - Method in class org.apache.ddlutils.task.DatabaseCommand
Returns the schema pattern if any.
getSchemaPattern() - Method in class org.apache.ddlutils.task.PlatformConfiguration
Returns the schema pattern if any.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the SQL for querying the id that was created in the last insertion operation.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.cloudscape.CloudscapeBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null. Normally mysql will return the LAST_INSERT_ID as the column name for the inserted id.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Generates the SQL for querying the id that was created in the last insertion operation. This is obviously only useful for pk fields that are auto-incrementing. A database that does not support this, will return null.
getSelfReferencingForeignKey() - Method in class org.apache.ddlutils.model.Table
Returns the foreign key referencing this table if it exists.
getSequenceValue() - Method in class org.apache.ddlutils.model.Reference
Returns the sequence value within the owning key.
getSink() - Method in class org.apache.ddlutils.io.DataReader
Returns the data sink.
getSize() - Method in class org.apache.ddlutils.model.Column
Returns the size of the column.
getSize() - Method in class org.apache.ddlutils.model.IndexColumn
Returns the size of the column in the index.
getSizeAsInt() - Method in class org.apache.ddlutils.model.Column
Returns the size of the column as an integer.
getSqlBuilder() - Method in interface org.apache.ddlutils.Platform
Returns the sql builder for the this platform.
getSqlBuilder() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the sql builder for the this platform.
getSqlCommandDelimiter() - Method in class org.apache.ddlutils.PlatformInfo
Returns the text separating individual sql commands.
getSqlDynaProperties() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
Returns the properties of this dyna class.
getSqlType(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the full SQL type specification (including size and precision/scale) for the given column.
getSupportedPlatforms() - Static method in class org.apache.ddlutils.PlatformFactory
Returns a list of all supported platforms.
getTable() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
Returns the table for which this dyna class is defined.
getTable() - Method in class org.apache.ddlutils.io.DataConverterRegistration
Returns the table for whose column this converter is defined.
getTable() - Method in class org.apache.ddlutils.io.Identity
Returns the table that this identity is for.
getTable(int) - Method in class org.apache.ddlutils.model.Database
Returns the table at the specified position.
getTableCount() - Method in class org.apache.ddlutils.model.Database
Returns the number of tables in this model.
getTableName() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
Returns the table name for which this dyna class is defined.
getTableName(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the table name.
getTableTypes() - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Returns the table types to recognize.
getTables() - Method in class org.apache.ddlutils.model.Database
Returns the tables in this model.
getTables(String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Convenience method to return the table meta data using the configured catalog, schema pattern and table types.
getTargetJdbcType(int) - Method in class org.apache.ddlutils.PlatformInfo
Returns the jdbc type corresponding to the native type that is used for the given jdbc type.
getTemporaryTableFor(Database, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Creates a temporary table object that corresponds to the given table.
getType() - Method in class org.apache.ddlutils.model.Column
Returns the JDBC type of the column.
getType() - Method in class org.apache.ddlutils.model.Table
Returns the type of this table as read from the database.
getTypeCode() - Method in class org.apache.ddlutils.io.DataConverterRegistration
Returns the jdbc type.
getTypeCode() - Method in class org.apache.ddlutils.model.Column
Returns the code (one of the constants in Types) of the JDBC type of the column.
getUniqueIndices() - Method in class org.apache.ddlutils.model.Table
Gets a list of unique indices on this table.
getUpdateSql(Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Returns the sql for updating the given bean in the database.
getUpdateSql(Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Returns the sql for updating the given bean in the database.
getUpdateSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Creates the SQL for updating an object in the specified table.
getUpdateSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Creates the SQL for updating an object in the specified table. If values are given then a concrete update statement is created, otherwise an update statement usable in a prepared statement is build.
getUseBatchMode() - Method in class org.apache.ddlutils.io.DatabaseDataIO
Determines whether batch mode is used for inserting data into the database.
getUsername() - Method in interface org.apache.ddlutils.Platform
Returns the username that this platform shall use to access the database.
getUsername() - Method in class org.apache.ddlutils.util.JdbcSupport
Returns the username used to access the database.
getValue() - Method in class org.apache.ddlutils.task.Parameter
Returns the value.
getValueAsString(Column, Object) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the string representation of the given value.
getValueAsString(Column, Object) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Generates the string representation of the given value.
getValueDateFormat() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the format object for formatting dates in the specified locale.
getValueDateFormat() - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Returns the format object for formatting dates in the specified locale.
getValueLocale() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the locale that is used for number and date formatting (when printing default values and in generates insert/update/delete statements).
getValueNumberFormat() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the format object for formatting numbers in the specified locale.
getValueQuoteToken() - Method in class org.apache.ddlutils.PlatformInfo
Returns the text that is used for for quoting values (e.g.
getValueTimeFormat() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the format object for formatting times in the specified locale.
getValueTimeFormat() - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Returns the format object for formatting times in the specified locale.
getValues() - Method in class org.apache.ddlutils.task.DatabaseTaskBase.VerbosityLevel
getVersion() - Method in class org.apache.ddlutils.model.Database
Returns the version of this database model.
getWriter(Writer) - Method in class org.apache.ddlutils.io.DatabaseIO
Returns a new bean writer configured to writer database models.
getWriter() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the writer that the DDL is printed to.

H

HsqlDbBuilder - class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder.
The SQL Builder for the HsqlDb database.
HsqlDbBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
Creates a new builder instance.
HsqlDbModelReader - class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader.
Reads a database model from a HsqlDb database.
HsqlDbModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader
Creates a new model reader for HsqlDb databases.
HsqlDbPlatform - class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform.
The platform implementation for the HsqlDb database.
HsqlDbPlatform() - Constructor for class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
Creates a new instance of the Hsqldb platform.
hasColumn(Column) - Method in interface org.apache.ddlutils.model.Index
Determines whether this index includes the given column.
hasColumn(Column) - Method in class org.apache.ddlutils.model.IndexImpBase
Determines whether this index includes the given column.
hasCommands() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Determines whether there are commands to perform.
hasForeignColumn(Column) - Method in class org.apache.ddlutils.model.ForeignKey
Determines whether this foreign key uses the given column as a foreign column in a reference.
hasLocalColumn(Column) - Method in class org.apache.ddlutils.model.ForeignKey
Determines whether this foreign key uses the given column as a local column in a reference.
hasMoreStatements() - Method in class org.apache.ddlutils.util.SqlTokenizer
Determines whether there are more statements.
hasNext() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator
hasNullDefault(int) - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the native type for the given sql type code (one of the Types constants) has a null default value on this platform.
hasPendingFKs() - Method in class org.apache.ddlutils.io.WaitingObject
Determines whether there are any identities of waited-for objects registered with this waiting object.
hasPrecisionAndScale(int) - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the native type for the given sql type code (one of the Types constants) has precision and scale specifications on this platform.
hasPrimaryKey() - Method in class org.apache.ddlutils.model.Table
Determines whether there is at least one primary key column on this table.
hasSize(int) - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the native type for the given sql type code (one of the Types constants) has a size specification on this platform.
hashCode() - Method in class org.apache.ddlutils.io.Identity
hashCode() - Method in class org.apache.ddlutils.model.Column
hashCode() - Method in class org.apache.ddlutils.model.Database
hashCode() - Method in class org.apache.ddlutils.model.ForeignKey
hashCode() - Method in class org.apache.ddlutils.model.IndexColumn
hashCode() - Method in class org.apache.ddlutils.model.NonUniqueIndex
hashCode() - Method in class org.apache.ddlutils.model.Reference
hashCode() - Method in class org.apache.ddlutils.model.Table
hashCode() - Method in class org.apache.ddlutils.model.UniqueIndex

I

INTEGER - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.INTEGER constant.
Identity - class org.apache.ddlutils.io.Identity.
Stores the identity of an database object as defined by its primary keys.
Identity(Table) - Constructor for class org.apache.ddlutils.io.Identity
Creates a new identity object for the given table.
Identity(Table, String) - Constructor for class org.apache.ddlutils.io.Identity
Creates a new identity object for the given table.
Index - interface org.apache.ddlutils.model.Index.
Represents an index definition for a table which may be either unique or non-unique.
IndexColumn - class org.apache.ddlutils.model.IndexColumn.
Represents a column of an index in the database model.
IndexColumn() - Constructor for class org.apache.ddlutils.model.IndexColumn
Creates a new index column object.
IndexColumn(Column) - Constructor for class org.apache.ddlutils.model.IndexColumn
Creates a new index column object.
IndexColumn(String) - Constructor for class org.apache.ddlutils.model.IndexColumn
Creates a new index column object.
IndexImpBase - class org.apache.ddlutils.model.IndexImpBase.
Base class for indices.
IndexImpBase() - Constructor for class org.apache.ddlutils.model.IndexImpBase
 
InterbaseBuilder - class org.apache.ddlutils.platform.interbase.InterbaseBuilder.
The SQL Builder for the Interbase database.
InterbaseBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Creates a new builder instance.
InterbaseModelReader - class org.apache.ddlutils.platform.interbase.InterbaseModelReader.
The Jdbc Model Reader for Interbase.
InterbaseModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Creates a new model reader for Interbase databases.
InterbasePlatform - class org.apache.ddlutils.platform.interbase.InterbasePlatform.
The platform implementation for the Interbase database.
InterbasePlatform() - Constructor for class org.apache.ddlutils.platform.interbase.InterbasePlatform
Creates a new platform instance.
initColumnsForColumn() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns descriptors for the columns that shall be read from the result set when reading the meta data for table columns.
initColumnsForFK() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns descriptors for the columns that shall be read from the result set when reading the meta data for foreign keys originating from a table.
initColumnsForIndex() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns descriptors for the columns that shall be read from the result set when reading the meta data for indices.
initColumnsForPK() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns descriptors for the columns that shall be read from the result set when reading the meta data for primary keys.
initColumnsForTable() - Method in class org.apache.ddlutils.platform.JdbcModelReader
Returns descriptors for the columns that shall be read from the result set when reading the meta data for a table.
initPrimaryKeys() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
Initializes the primary key and non primary key property arrays.
initialize() - Method in class org.apache.ddlutils.model.Database
Initializes the model by establishing the relationships between elements in this model encoded eg.
insert(Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Inserts the given DynaBean in the database, assuming the primary key values are specified.
insert(Connection, Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Inserts the bean.
insert(Database, Collection) - Method in interface org.apache.ddlutils.Platform
Inserts the given beans in the database, assuming the primary key values are specified.
insert(Connection, Database, Collection) - Method in interface org.apache.ddlutils.Platform
Inserts the given beans.
insert(Connection, Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Inserts the bean. If one of the columns is an auto-incremented column, then the bean will also be updated with the column value generated by the database. Note that the connection will not be closed by this method.
insert(Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Inserts the given DynaBean in the database, assuming the primary key values are specified.
insert(Connection, Database, Collection) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Inserts the given beans. Note that a batch insert is used for subsequent beans of the same type. Also the properties for the primary keys are not updated in the beans. Hence you should not use this method when the primary key values are defined by the database (via a sequence or identity constraint). This method does not close the connection.
insert(Database, Collection) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Inserts the given beans in the database, assuming the primary key values are specified. Note that a batch insert is used for subsequent beans of the same type. Also the properties for the primary keys are not updated in the beans. Hence you should not use this method when the primary key values are defined by the database (via a sequence or identity constraint).
isAlterDatabase() - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Determines whether to alter the database if it already exists, or re-set it.
isAlterDatabase() - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
Determines whether to alter the database if it already exists, or re-set it.
isAlterTableForDropUsed() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether an ALTER TABLE statement shall be used for dropping indices or constraints.
isAtEnd() - Method in class org.apache.ddlutils.alteration.AddColumnChange
Determines whether the column is added at the end (when applied in the order of creation of the changes).
isAutoCommitModeForLastIdentityValueReading() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether auto-commit mode for the reading of the values of identity columns after insertion shall be used, i.e.
isAutoIncrement() - Method in class org.apache.ddlutils.model.Column
Determines whether this column is an auto-increment column.
isAutoIncrement(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
Tries to determine whether the given column is an identity column.
isAutoIndexPresent() - Method in class org.apache.ddlutils.model.ForeignKey
Determines whether this foreign key has an auto-generated associated index.
isBinaryType(int) - Static method in class org.apache.ddlutils.model.TypeMap
Determines whether the given jdbc type (one of the Types constants) is a binary type.
isCaseSensitive() - Method in class org.apache.ddlutils.io.DataReader
Determines whether this rules object matches case sensitively.
isCaseSensitive() - Method in class org.apache.ddlutils.io.DigesterRules
Determines whether this rules object matches case sensitively.
isConnectionOpen() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator
Determines whether the connection is still open.
isDateTimeType(int) - Static method in class org.apache.ddlutils.model.TypeMap
Determines whether the given jdbc type (one of the Types constants) is a date/time type.
isDebug() - Method in class org.apache.ddlutils.task.DatabaseTaskBase.VerbosityLevel
Determines whether this is DEBUG verbosity.
isDefaultValueUsedForIdentitySpec() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the auto-increment specification uses the DEFAULT value of the column definition.
isDefaultValuesForLongTypesSupported() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether default values can be specified for LONGVARCHAR/LONGVARBINARY columns.
isDelimitedIdentifierModeOn() - Method in interface org.apache.ddlutils.Platform
Determines whether delimited identifiers are used or normal SQL92 identifiers (which may only contain alphanumerical characters and the underscore, must start with a letter and cannot be a reserved keyword).
isDelimitedIdentifierModeOn() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Determines whether delimited identifiers are used or normal SQL92 identifiers (which may only contain alphanumerical characters and the underscore, must start with a letter and cannot be a reserved keyword). Per default, delimited identifiers are not used
isDelimitedIdentifiersSupported() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether delimited identifiers are supported.
isDoDrops() - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Determines whether SQL is generated to drop tables and the associated constraints if necessary.
isDoDrops() - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
Determines whether to drop tables and the associated constraints if necessary.
isEmbeddedForeignKeysNamed() - Method in class org.apache.ddlutils.PlatformInfo
Returns whether embedded foreign key constraints should have a name.
isEnsureFKOrder() - Method in class org.apache.ddlutils.io.DatabaseDataIO
Determines whether the sink delays the insertion of beans so that the beans referenced by it via foreignkeys are already inserted into the database.
isEnsureFkOrder() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Determines whether the sink delays the insertion of beans so that the beans referenced by it via foreignkeys are already inserted into the database.
isFailOnError() - Method in class org.apache.ddlutils.io.DatabaseDataIO
Determines whether data io is stopped when an error happens.
isFailOnError() - Method in class org.apache.ddlutils.task.DatabaseCommand
Determines whether the command execution will be stopped upon an error.
isForPlatform(String) - Method in class org.apache.ddlutils.task.Parameter
Determines whether this parameter is applicable for the indicated platform.
isForTable(Table, boolean) - Method in class org.apache.ddlutils.task.TableSpecificParameter
Determines whether this parameter is applicable to the given table.
isForeignKeysEmbedded() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether foreign key constraints are embedded in the create table clause or as seperate alter table statements.
isForeignKeysSorted() - Method in interface org.apache.ddlutils.Platform
Determines whether foreign keys of a table read from a live database are alphabetically sorted.
isForeignKeysSorted() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Determines whether foreign keys of a table read from a live database are alphabetically sorted.
isHaltOnErrors() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Determines whether this sink halts when an error happens during the insertion of a bean into the database.
isIdentityOverrideAllowed() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the platform is allows the explicit specification of values for identity columns in INSERT/UPDATE statements.
isIdentityOverrideOn() - Method in interface org.apache.ddlutils.Platform
Determines whether SQL insert statements can specify values for identity columns.
isIdentityOverrideOn() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Determines whether SQL insert statements can specify values for identity columns. This setting is only relevant if the database supports it (PlatformInfo.isIdentityOverrideAllowed()). If this is off, then the insert methods will ignore values for identity columns.
isIndicesEmbedded() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the indices are embedded in the create table clause or as seperate statements.
isIndicesSupported() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether indices are supported.
isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Tries to determine whether the index is the internal database-generated index for the given foreign key.
isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.derby.DerbyModelReader
Tries to determine whether the index is the internal database-generated index for the given foreign key. Note that only non-unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Tries to determine whether the index is the internal database-generated index for the given foreign key. Note that only non-unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader
Tries to determine whether the index is the internal database-generated index for the given foreign key. Note that only non-unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Tries to determine whether the index is the internal database-generated index for the given foreign key. Note that only non-unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.mysql.MySqlModelReader
Tries to determine whether the index is the internal database-generated index for the given foreign key. Note that only non-unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
Tries to determine whether the index is the internal database-generated index for the given foreign key. Note that only non-unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.db2.Db2ModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key. Note that only unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.derby.DerbyModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key. Note that only unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key. Note that only unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key. Note that only unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key. Note that only unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.mssql.MSSqlModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key. Note that only unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.mysql.MySqlModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key. Note that only unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key. Note that only unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
Tries to determine whether the index is the internal database-generated index for the given table's primary key. Note that only unique indices with the correct columns are fed to this method. Redefine this method for specific platforms if there are better ways to determine internal indices.
isLastIdentityValueReadable() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the values of identity columns can be read back from the database after insertion of a row.
isNonPKIdentityColumnsSupported() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether non-primary key columns can be auto-incrementing (IDENTITY columns).
isNullAsDefaultValueRequired() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether a NULL needs to be explicitly stated when the column has no specified default value.
isNumericType(int) - Static method in class org.apache.ddlutils.model.TypeMap
Determines whether the given jdbc type (one of the Types constants) is a numeric type.
isOfBinaryType() - Method in class org.apache.ddlutils.model.Column
Determines whether this column is of a binary type.
isOfNumericType() - Method in class org.apache.ddlutils.model.Column
Determines whether this column is of a numeric type.
isOfSpecialType() - Method in class org.apache.ddlutils.model.Column
Determines whether this column is of a special type.
isOfTextType() - Method in class org.apache.ddlutils.model.Column
Determines whether this column is of a text type.
isPlatformSupported(String) - Static method in class org.apache.ddlutils.PlatformFactory
Determines whether the indicated platform is supported.
isPrettyPrinting() - Method in class org.apache.ddlutils.io.DataWriter
Determines whether the output shall be pretty-printed.
isPrimaryKey() - Method in class org.apache.ddlutils.dynabean.SqlDynaProperty
Determines whether this property is for a primary key column.
isPrimaryKey() - Method in class org.apache.ddlutils.model.Column
Determines whether this column is a primary key column.
isPrimaryKeyEmbedded() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether primary key constraints are embedded in the create table clause or as seperate alter table statements.
isRequired() - Method in class org.apache.ddlutils.model.Column
Determines whether this column is a required column, ie.
isRequiringModel() - Method in interface org.apache.ddlutils.task.Command
Specifies whether this command requires a model, i.e.
isRequiringModel() - Method in class org.apache.ddlutils.task.CreateDatabaseCommand
Specifies whether this command requires a model, i.e. whether the second argument in Command.execute(DatabaseTaskBase, Database) cannot be null.
isRequiringModel() - Method in class org.apache.ddlutils.task.DatabaseCommand
Specifies whether this command requires a model, i.e. whether the second argument in Command.execute(DatabaseTaskBase, Database) cannot be null.
isRequiringModel() - Method in class org.apache.ddlutils.task.DropDatabaseCommand
Specifies whether this command requires a model, i.e. whether the second argument in Command.execute(DatabaseTaskBase, Database) cannot be null.
isRequiringModel() - Method in class org.apache.ddlutils.task.WriteDtdToFileCommand
Specifies whether this command requires a model, i.e. whether the second argument in Command.execute(DatabaseTaskBase, Database) cannot be null.
isRequiringModel() - Method in class org.apache.ddlutils.task.WriteSchemaToFileCommand
Specifies whether this command requires a model, i.e. whether the second argument in Command.execute(DatabaseTaskBase, Database) cannot be null.
isScriptModeOn() - Method in interface org.apache.ddlutils.Platform
Determines whether script mode is on.
isScriptModeOn() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Determines whether script mode is on. This means that the generated SQL is not intended to be sent directly to the database but rather to be saved in a SQL script file. Per default, script mode is off.
isShutdownDatabase() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Determines whether the database shall be shut down after the task has finished.
isShutdownDatabase() - Method in class org.apache.ddlutils.task.PlatformConfiguration
Determines whether the database shall be shut down after the task has finished.
isSortForeignKeys() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Determines whether a table's foreign keys read from a live database shall be sorted alphabetically.
isSortForeignKeys() - Method in class org.apache.ddlutils.task.PlatformConfiguration
Determines whether a table's foreign keys read from a live database shall be sorted alphabetically.
isSpecialType(int) - Static method in class org.apache.ddlutils.model.TypeMap
Determines whether the given sql type (one of the Types constants) is a special type.
isSqlCommentsOn() - Method in interface org.apache.ddlutils.Platform
Determines whether SQL comments are generated.
isSqlCommentsOn() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Determines whether SQL comments are generated.
isSqlCommentsSupported() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the database supports SQL comments.
isSyntheticDefaultValueForRequiredReturned() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the platform returns synthetic default values (e.g.
isSystemForeignKeyIndicesAlwaysNonUnique() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether system indices for foreign keys are always non-unique or can be unique (i.e.
isSystemIndicesReturned() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether database-generated indices for primary and foreign keys are returned when reading a model from a database.
isTextType(int) - Static method in class org.apache.ddlutils.model.TypeMap
Determines whether the given jdbc type (one of the Types constants) is a text type.
isUnique() - Method in interface org.apache.ddlutils.model.Index
Determines whether this index is unique or not.
isUnique() - Method in class org.apache.ddlutils.model.NonUniqueIndex
Determines whether this index is unique or not.
isUnique() - Method in class org.apache.ddlutils.model.UniqueIndex
Determines whether this index is unique or not.
isUseBatchMode() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Determines whether batch mode is used for inserting the beans.
isUseDelimitedSqlIdentifiers() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Determines whether delimited SQL identifiers shall be used (the default).
isUseDelimitedSqlIdentifiers() - Method in class org.apache.ddlutils.task.PlatformConfiguration
Determines whether delimited SQL identifiers shall be used (the default).
isUseInternalDtd() - Method in class org.apache.ddlutils.io.DatabaseIO
Returns whether the internal dtd that comes with DdlUtils is used.
isValidDefaultValue(String, int) - Method in class org.apache.ddlutils.platform.SqlBuilder
Determines whether the given default spec is a non-empty spec that shall be used in a DEFAULT expression.
isValidateXml() - Method in class org.apache.ddlutils.io.DatabaseIO
Returns whether XML is validated upon reading it.
iterator() - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
Returns an iterator of all enum values.

J

JAVA_OBJECT - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.JAVA_OBJECT constant.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.axion.AxionPlatform
The axion jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
The standard DB2 jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.derby.DerbyPlatform
The derby jdbc driver for use as a client for a normal server.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.firebird.FirebirdPlatform
The standard Firebird jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
The standard Hsqldb jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.interbase.InterbasePlatform
The interbase jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.mckoi.MckoiPlatform
The standard McKoi jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
The standard SQLServer jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.mysql.MySqlPlatform
The standard MySQL jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
The standard Oracle jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
The standard PostgreSQL jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.sapdb.SapDbPlatform
The standard SapDB/MaxDB jdbc driver.
JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.sybase.SybasePlatform
The standard Sybase jdbc driver.
JDBC_DRIVER_DATADIRECT_DB2 - Static variable in class org.apache.ddlutils.PlatformUtils
The DataDirect Connect DB2 jdbc driver.
JDBC_DRIVER_DATADIRECT_ORACLE - Static variable in class org.apache.ddlutils.PlatformUtils
The DataDirect Connect Oracle jdbc driver.
JDBC_DRIVER_DATADIRECT_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
The DataDirect Connect SQLServer jdbc driver.
JDBC_DRIVER_DATADIRECT_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
The DataDirect Connect Sybase jdbc driver.
JDBC_DRIVER_EMBEDDED - Static variable in class org.apache.ddlutils.platform.derby.DerbyPlatform
The derby jdbc driver for use as an embedded database.
JDBC_DRIVER_INET_DB2 - Static variable in class org.apache.ddlutils.PlatformUtils
The i-net DB2 jdbc driver.
JDBC_DRIVER_INET_ORACLE - Static variable in class org.apache.ddlutils.PlatformUtils
The i-net Oracle jdbc driver.
JDBC_DRIVER_INET_POOLED - Static variable in class org.apache.ddlutils.PlatformUtils
The i-net pooled jdbc driver for SQLServer and Sybase.
JDBC_DRIVER_INET_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
The i-net SQLServer jdbc driver.
JDBC_DRIVER_INET_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
The i-net Sybase jdbc driver.
JDBC_DRIVER_JSQLCONNECT_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
The JNetDirect SQLServer jdbc driver.
JDBC_DRIVER_JTDS - Static variable in class org.apache.ddlutils.PlatformUtils
The jTDS jdbc driver for SQLServer and Sybase.
JDBC_DRIVER_JTOPEN - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
The JTOpen JDBC Driver.
JDBC_DRIVER_NEW - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
The new SQLServer 2005 jdbc driver which can also be used for SQL Server 2000.
JDBC_DRIVER_OLD - Static variable in class org.apache.ddlutils.platform.mysql.MySqlPlatform
The old MySQL jdbc driver.
JDBC_DRIVER_OLD - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
The old Oracle jdbc driver.
JDBC_DRIVER_OLD - Static variable in class org.apache.ddlutils.platform.sybase.SybasePlatform
The old Sybase jdbc driver.
JDBC_DRIVER_OLD1 - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
Older name for the jdbc driver.
JDBC_DRIVER_OLD2 - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
Older name for the jdbc driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.axion.AxionPlatform
The subprotocol used by the axion driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
The subprotocol used by the standard DB2 driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.derby.DerbyPlatform
The subprotocol used by the derby drivers.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.firebird.FirebirdPlatform
The subprotocol used by the standard Firebird driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
The subprotocol used by the standard Hsqldb driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.interbase.InterbasePlatform
The subprotocol used by the interbase driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.mckoi.MckoiPlatform
The subprotocol used by the standard McKoi driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
The subprotocol used by the standard SQL Server driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.mysql.MySqlPlatform
The subprotocol used by the standard MySQL driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
The subprotocol used by the standard PostgreSQL driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.sapdb.SapDbPlatform
The subprotocol used by the standard SapDB/MaxDB driver.
JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.sybase.SybasePlatform
The subprotocol used by the standard Sybase driver.
JDBC_SUBPROTOCOL_1 - Static variable in class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform
A subprotocol used by the DB2 network driver.
JDBC_SUBPROTOCOL_2 - Static variable in class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform
A subprotocol used by the DB2 network driver.
JDBC_SUBPROTOCOL_DATADIRECT_DB2 - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the DataDirect DB2 driver.
JDBC_SUBPROTOCOL_DATADIRECT_ORACLE - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the DataDirect Oracle driver.
JDBC_SUBPROTOCOL_DATADIRECT_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the DataDirect SQLServer driver.
JDBC_SUBPROTOCOL_DATADIRECT_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the DataDirect Sybase driver.
JDBC_SUBPROTOCOL_INET_DB2 - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the i-net DB2 driver.
JDBC_SUBPROTOCOL_INET_ORACLE - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the i-net Oracle driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER6 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER6_POOLED_1 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the pooled i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER6_POOLED_2 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the pooled i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER7 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER7A - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER7A_POOLED_1 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the pooled i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER7A_POOLED_2 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the pooled i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER7_POOLED_1 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the pooled i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER7_POOLED_2 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the pooled i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER_POOLED_1 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the pooled i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SQLSERVER_POOLED_2 - Static variable in class org.apache.ddlutils.PlatformUtils
A subprotocol used by the pooled i-net SQLServer driver.
JDBC_SUBPROTOCOL_INET_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the i-net Sybase driver.
JDBC_SUBPROTOCOL_INET_SYBASE_POOLED_1 - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the pooled i-net Sybase driver.
JDBC_SUBPROTOCOL_INET_SYBASE_POOLED_2 - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the pooled i-net Sybase driver.
JDBC_SUBPROTOCOL_INTERNAL - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
The subprotocol internally returned by the newer SQL Server 2005 driver.
JDBC_SUBPROTOCOL_JSQLCONNECT_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the JNetDirect SQLServer driver.
JDBC_SUBPROTOCOL_JTDS_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the jTDS SQLServer driver.
JDBC_SUBPROTOCOL_JTDS_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
The subprotocol used by the jTDS Sybase driver.
JDBC_SUBPROTOCOL_JTOPEN - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
An alternative subprotocol used by the JTOpen driver on OS/400.
JDBC_SUBPROTOCOL_NEW - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
The subprotocol recommended for the newer SQL Server 2005 driver.
JDBC_SUBPROTOCOL_OCI8 - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
The thin subprotocol used by the standard Oracle driver.
JDBC_SUBPROTOCOL_OS390_1 - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
An alternative subprotocol used by the standard DB2 driver on OS/390.
JDBC_SUBPROTOCOL_OS390_2 - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
An alternative subprotocol used by the standard DB2 driver on OS/390.
JDBC_SUBPROTOCOL_THIN - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
The thin subprotocol used by the standard Oracle driver.
JDBC_SUBPROTOCOL_THIN_OLD - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
The old thin subprotocol used by the standard Oracle driver.
Jdbc3Utils - class org.apache.ddlutils.util.Jdbc3Utils.
Little helper class providing functions for dealing with the newer JDBC functionality in a way that is safe to compile with Java 1.3.
Jdbc3Utils() - Constructor for class org.apache.ddlutils.util.Jdbc3Utils
 
JdbcModelReader - class org.apache.ddlutils.platform.JdbcModelReader.
An utility class to create a Database model from a live database.
JdbcModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.JdbcModelReader
Creates a new model reader instance.
JdbcSupport - class org.apache.ddlutils.util.JdbcSupport.
JdbcSupport is an abstract base class for objects which need to perform JDBC operations.
JdbcSupport() - Constructor for class org.apache.ddlutils.util.JdbcSupport
 
JdbcTypeCategoryEnum - class org.apache.ddlutils.model.JdbcTypeCategoryEnum.
Represents the different categories of jdbc types.

L

LONGVARBINARY - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.LONGVARBINARY constant.
LONGVARCHAR - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.LONGVARCHAR constant.
LocalEntityResolver - class org.apache.ddlutils.io.LocalEntityResolver.
An entity resolver that matches the specific database dtds to the one that comes with DdlUtils, and that can handle file url's.
LocalEntityResolver() - Constructor for class org.apache.ddlutils.io.LocalEntityResolver
 
logWarnings(Connection) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Logs any warnings associated to the given connection.
lookup(String, String) - Method in class org.apache.ddlutils.io.DigesterRules

M

MAX_TEXT_SIZE - Static variable in class org.apache.ddlutils.platform.sybase.SybasePlatform
The maximum size that text and binary columns can have.
MODEL_DEFAULT_NAME - Static variable in class org.apache.ddlutils.platform.PlatformImplBase
The default name for models read from the database, if no name as given.
MSSqlBuilder - class org.apache.ddlutils.platform.mssql.MSSqlBuilder.
The SQL Builder for the Microsoft SQL Server.
MSSqlBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Creates a new builder instance.
MSSqlModelReader - class org.apache.ddlutils.platform.mssql.MSSqlModelReader.
Reads a database model from a Microsoft Sql Server database.
MSSqlModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.mssql.MSSqlModelReader
Creates a new model reader for Microsoft Sql Server databases.
MSSqlPlatform - class org.apache.ddlutils.platform.mssql.MSSqlPlatform.
The platform implementation for the Microsoft SQL Server database.
MSSqlPlatform() - Constructor for class org.apache.ddlutils.platform.mssql.MSSqlPlatform
Creates a new platform instance.
MaxDbPlatform - class org.apache.ddlutils.platform.maxdb.MaxDbPlatform.
The platform implementation for MaxDB.
MaxDbPlatform() - Constructor for class org.apache.ddlutils.platform.maxdb.MaxDbPlatform
 
MckoiBuilder - class org.apache.ddlutils.platform.mckoi.MckoiBuilder.
The SQL Builder for the Mckoi database.
MckoiBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.mckoi.MckoiBuilder
Creates a new builder instance.
MckoiModelReader - class org.apache.ddlutils.platform.mckoi.MckoiModelReader.
Reads a database model from a Mckoi database.
MckoiModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.mckoi.MckoiModelReader
Creates a new model reader for Mckoi databases.
MckoiPlatform - class org.apache.ddlutils.platform.mckoi.MckoiPlatform.
The Mckoi database platform implementation.
MckoiPlatform() - Constructor for class org.apache.ddlutils.platform.mckoi.MckoiPlatform
Creates a new platform instance.
MetaDataColumnDescriptor - class org.apache.ddlutils.platform.MetaDataColumnDescriptor.
Describes a column in a metadata result set.
MetaDataColumnDescriptor(String, int) - Constructor for class org.apache.ddlutils.platform.MetaDataColumnDescriptor
Creates a new descriptor instance.
MetaDataColumnDescriptor(String, int, Object) - Constructor for class org.apache.ddlutils.platform.MetaDataColumnDescriptor
Creates a new descriptor instance.
ModelBasedResultSetIterator - class org.apache.ddlutils.platform.ModelBasedResultSetIterator.
This is an iterator that is specifically targeted at traversing result sets.
ModelBasedResultSetIterator(PlatformImplBase, Database, ResultSet, Table[], boolean) - Constructor for class org.apache.ddlutils.platform.ModelBasedResultSetIterator
Creates a new iterator.
ModelChange - interface org.apache.ddlutils.alteration.ModelChange.
Marker interface for changes to a database model element.
ModelComparator - class org.apache.ddlutils.alteration.ModelComparator.
Compares two database models and creates change objects that express how to adapt the first model so that it becomes the second one.
ModelComparator(PlatformInfo, boolean) - Constructor for class org.apache.ddlutils.alteration.ModelComparator
Creates a new model comparator object.
ModelException - exception org.apache.ddlutils.model.ModelException.
Indicates a model error.
ModelException() - Constructor for class org.apache.ddlutils.model.ModelException
Creates a new empty exception object.
ModelException(String) - Constructor for class org.apache.ddlutils.model.ModelException
Creates a new exception object.
ModelException(Throwable) - Constructor for class org.apache.ddlutils.model.ModelException
Creates a new exception object.
ModelException(String, Throwable) - Constructor for class org.apache.ddlutils.model.ModelException
Creates a new exception object.
MultiInstanceofPredicate - class org.apache.ddlutils.util.MultiInstanceofPredicate.
A predicate that tests whether the object is of one of the configured types.
MultiInstanceofPredicate(Class[]) - Constructor for class org.apache.ddlutils.util.MultiInstanceofPredicate
Creates a new predicate.
MySql50ModelReader - class org.apache.ddlutils.platform.mysql.MySql50ModelReader.
Reads a database model from a MySql 5 database.
MySql50ModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.mysql.MySql50ModelReader
Creates a new model reader for MySql 5 databases.
MySql50Platform - class org.apache.ddlutils.platform.mysql.MySql50Platform.
The platform implementation for MySQL 5 and above.
MySql50Platform() - Constructor for class org.apache.ddlutils.platform.mysql.MySql50Platform
Creates a new platform instance.
MySqlBuilder - class org.apache.ddlutils.platform.mysql.MySqlBuilder.
The SQL Builder for MySQL.
MySqlBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.mysql.MySqlBuilder
Creates a new builder instance.
MySqlModelReader - class org.apache.ddlutils.platform.mysql.MySqlModelReader.
Reads a database model from a MySql database.
MySqlModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.mysql.MySqlModelReader
Creates a new model reader for MySql databases.
MySqlPlatform - class org.apache.ddlutils.platform.mysql.MySqlPlatform.
The platform implementation for MySQL.
MySqlPlatform() - Constructor for class org.apache.ddlutils.platform.mysql.MySqlPlatform
Creates a new platform instance.
matches(Index, List) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Checks whether the given index matches the column list.
mergeWith(Database) - Method in class org.apache.ddlutils.model.Database
Adds all tables from the other database to this database.

N

NULL - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.NULL constant.
NUMERIC - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The enum value for numeric jdbc types.
NUMERIC - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.NUMERIC constant.
NonUniqueIndex - class org.apache.ddlutils.model.NonUniqueIndex.
Represents an index definition for a table.
NonUniqueIndex() - Constructor for class org.apache.ddlutils.model.NonUniqueIndex
 
NumberConverter - class org.apache.ddlutils.io.converters.NumberConverter.
Converts between the various number types (including boolean types) and String.
NumberConverter() - Constructor for class org.apache.ddlutils.io.converters.NumberConverter
 
newInstance(Table) - Static method in class org.apache.ddlutils.dynabean.SqlDynaClass
Factory method for creating and initializing a new dyna class instance for the given table.
next() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator

O

OTHER - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The enum value for other jdbc types.
OTHER - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.OTHER constant.
Oracle10Builder - class org.apache.ddlutils.platform.oracle.Oracle10Builder.
The SQL builder for Oracle 10.
Oracle10Builder(Platform) - Constructor for class org.apache.ddlutils.platform.oracle.Oracle10Builder
Creates a new builder instance.
Oracle10ModelReader - class org.apache.ddlutils.platform.oracle.Oracle10ModelReader.
Reads a database model from an Oracle 10 database.
Oracle10ModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.oracle.Oracle10ModelReader
Creates a new model reader for Oracle 10 databases.
Oracle10Platform - class org.apache.ddlutils.platform.oracle.Oracle10Platform.
The platform for Oracle 10.
Oracle10Platform() - Constructor for class org.apache.ddlutils.platform.oracle.Oracle10Platform
Creates a new platform instance.
Oracle8Builder - class org.apache.ddlutils.platform.oracle.Oracle8Builder.
The SQL Builder for Oracle.
Oracle8Builder(Platform) - Constructor for class org.apache.ddlutils.platform.oracle.Oracle8Builder
Creates a new builder instance.
Oracle8ModelReader - class org.apache.ddlutils.platform.oracle.Oracle8ModelReader.
Reads a database model from an Oracle 8 database.
Oracle8ModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
Creates a new model reader for Oracle 8 databases.
Oracle8Platform - class org.apache.ddlutils.platform.oracle.Oracle8Platform.
The platform for Oracle 8.
Oracle8Platform() - Constructor for class org.apache.ddlutils.platform.oracle.Oracle8Platform
Creates a new platform instance.
Oracle9Platform - class org.apache.ddlutils.platform.oracle.Oracle9Platform.
The platform for Oracle 9.
Oracle9Platform() - Constructor for class org.apache.ddlutils.platform.oracle.Oracle9Platform
Creates a new platform instance.
org.apache.ddlutils - package 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.alteration - package org.apache.ddlutils.alteration
Contains the algorithm for comparing two database models and determining what needs to be changed to migrate one to the other.
org.apache.ddlutils.dynabean - package org.apache.ddlutils.dynabean
Provides the special DdlUtils implementations of DynaClass and DynaBean that directly map to tables in the database model.
org.apache.ddlutils.io - package org.apache.ddlutils.io
The org.apache.ddlutils.io package contains a classes for input and output of both the database schemas and data files.
org.apache.ddlutils.io.converters - package org.apache.ddlutils.io.converters
This package contains helper classes that convert between textual representations and values of the types that correspond to the JDBC type codes given by Types.
org.apache.ddlutils.model - package org.apache.ddlutils.model
This package contains the classes making up the database model.
org.apache.ddlutils.platform - package org.apache.ddlutils.platform
This package contains the platform implementations for the individual databases.
org.apache.ddlutils.platform.axion - package org.apache.ddlutils.platform.axion
This package contains the platform implementation for the Axion database.
org.apache.ddlutils.platform.cloudscape - package org.apache.ddlutils.platform.cloudscape
This package contains the platform implementation for the Cloudscape database.
org.apache.ddlutils.platform.db2 - package org.apache.ddlutils.platform.db2
This package contains the platform implementation for the DB2 UDB database.
org.apache.ddlutils.platform.derby - package org.apache.ddlutils.platform.derby
This package contains the platform implementation for the Apache Derby database.
org.apache.ddlutils.platform.firebird - package org.apache.ddlutils.platform.firebird
This package contains the platform implementation for the Firebird database.
org.apache.ddlutils.platform.hsqldb - package org.apache.ddlutils.platform.hsqldb
This package contains the platform implementation for the HSQLDB database.
org.apache.ddlutils.platform.interbase - package org.apache.ddlutils.platform.interbase
This package contains the platform implementation for the Interbase database.
org.apache.ddlutils.platform.maxdb - package org.apache.ddlutils.platform.maxdb
This package contains the platform implementation for the MaxDB database.
org.apache.ddlutils.platform.mckoi - package org.apache.ddlutils.platform.mckoi
This package contains the platform implementation for the Mckoi database.
org.apache.ddlutils.platform.mssql - package org.apache.ddlutils.platform.mssql
This package contains the platform implementation for the Sql Server database.
org.apache.ddlutils.platform.mysql - package org.apache.ddlutils.platform.mysql
This package contains the platform implementation for the MySQL database.
org.apache.ddlutils.platform.oracle - package org.apache.ddlutils.platform.oracle
This package contains the platform implementation for the Oracle database.
org.apache.ddlutils.platform.postgresql - package org.apache.ddlutils.platform.postgresql
This package contains the platform implementation for the PostgreSQL database.
org.apache.ddlutils.platform.sapdb - package org.apache.ddlutils.platform.sapdb
This package contains the platform implementation for the SAP DB database.
org.apache.ddlutils.platform.sybase - package org.apache.ddlutils.platform.sybase
This package contains the platform implementation for the Sybase ASE database.
org.apache.ddlutils.task - package org.apache.ddlutils.task
The org.apache.ddlutils.task package contains the Ant tasks provided by DdlUtils.
org.apache.ddlutils.util - package org.apache.ddlutils.util
The org.apache.ddlutils.util package contains utility classes of DdlUtils.

P

Parameter - class org.apache.ddlutils.task.Parameter.
Specifies a parameter for the creation of the database.
Parameter() - Constructor for class org.apache.ddlutils.task.Parameter
 
Platform - interface org.apache.ddlutils.Platform.
A platform encapsulates the database-related functionality such as performing queries and manipulations.
PlatformConfiguration - class org.apache.ddlutils.task.PlatformConfiguration.
Encloses the platform configuration for the Ant tasks.
PlatformConfiguration() - Constructor for class org.apache.ddlutils.task.PlatformConfiguration
 
PlatformFactory - class org.apache.ddlutils.PlatformFactory.
A factory of Platform instances based on a case insensitive database name.
PlatformFactory() - Constructor for class org.apache.ddlutils.PlatformFactory
 
PlatformImplBase - class org.apache.ddlutils.platform.PlatformImplBase.
Base class for platform implementations.
PlatformImplBase() - Constructor for class org.apache.ddlutils.platform.PlatformImplBase
 
PlatformInfo - class org.apache.ddlutils.PlatformInfo.
Conatains information about the database platform such as supported features and native type mappings.
PlatformInfo() - Constructor for class org.apache.ddlutils.PlatformInfo
Creates a new platform info object.
PlatformUtils - class org.apache.ddlutils.PlatformUtils.
Utility functions for dealing with database platforms.
PlatformUtils() - Constructor for class org.apache.ddlutils.PlatformUtils
Creates a new instance.
PostgreSqlBuilder - class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder.
The SQL Builder for PostgresSql.
PostgreSqlBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
Creates a new builder instance.
PostgreSqlModelReader - class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader.
Reads a database model from a PostgreSql database.
PostgreSqlModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
Creates a new model reader for PostgreSql databases.
PostgreSqlPlatform - class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform.
The platform implementation for PostgresSql.
PostgreSqlPlatform() - Constructor for class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
Creates a new platform instance.
PrimaryKeyChange - class org.apache.ddlutils.alteration.PrimaryKeyChange.
Represents the change of the primary key of a table.
PrimaryKeyChange(Table, Column[], Column[]) - Constructor for class org.apache.ddlutils.alteration.PrimaryKeyChange
Creates a new change object.
postprocessModelFromDatabase(Database) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Allows the platform to postprocess the model just read from the database.
print(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints some text.
printComment(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints an SQL comment to the current stream.
printDefaultValue(Object, int) - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints the default value of the column.
printDefaultValue(Object, int) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Prints the default value of the column.
printEndOfStatement() - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints the end of statement text, which is typically a semi colon followed by a carriage return.
printIdentifier(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints the given identifier.
printIndent() - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints the characters used to indent SQL.
printStartOfEmbeddedStatement() - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints the start of an embedded statement.
println() - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints a newline.
println(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints some text followed by a newline.
printlnIdentifier(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints the given identifier followed by a newline.
processChange(Database, Database, CreationParameters, ModelChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
This is a fall-through callback which generates a warning because a specific change type wasn't handled.
processChange(Database, Database, CreationParameters, RemoveForeignKeyChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the change representing the removal of a foreign key.
processChange(Database, Database, CreationParameters, RemoveIndexChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the change representing the removal of an index.
processChange(Database, Database, CreationParameters, RemoveTableChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the change representing the removal of a table.
processChange(Database, Database, CreationParameters, AddTableChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the change representing the addition of a table.
processChange(Database, Database, CreationParameters, AddForeignKeyChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the change representing the addition of a foreign key.
processChange(Database, Database, CreationParameters, AddIndexChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the change representing the addition of an index.
processChange(Database, Database, AddPrimaryKeyChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the addition of a primary key to a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Processes the removal of a column from a table.
processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Processes the removal of a primary key from a table.
processChange(Database, Database, PrimaryKeyChange) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Processes the change of the primary key of a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
Processes the addition of a column to a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Processes the removal of a column from a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
Processes the removal of a column from a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Processes the removal of a column from a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Processes the removal of a column from a table.
processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Processes the removal of a primary key from a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Processes the removal of a column from a table.
processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Processes the removal of a primary key from a table.
processChange(Database, Database, PrimaryKeyChange) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Processes the change of the primary key of a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Processes the removal of a column from a table.
processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Processes the removal of a primary key from a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
Processes the removal of a column from a table.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Processes the removal of a column from a table.
processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Processes the removal of a primary key from a table.
processChange(Database, Database, ColumnRequiredChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Processes the change of the required constraint of a column.
processChange(Database, Database, ColumnDefaultValueChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Processes the change of the default value of a column.
processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Processes the addition of a column to a table.
processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Processes the removal of a column from a table.
processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Processes the removal of a primary key from a table.
processChange(Database, Database, ColumnDefaultValueChange) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Processes the change of the default value of a column.
processChanges(Database, Database, List, CreationParameters) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the changes.
processChanges(Database, Database, List, CreationParameters) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Processes the changes. The default argument performs several passes:
  1. RemoveForeignKeyChange and RemoveIndexChange come first to allow for e.g. subsequent primary key changes or column removal.
  2. RemoveTableChange comes after the removal of foreign keys and indices.
  3. These are all handled together:
    RemovePrimaryKeyChange
    AddPrimaryKeyChange
    PrimaryKeyChange
    RemoveColumnChange
    AddColumnChange
    ColumnAutoIncrementChange
    ColumnDefaultValueChange
    ColumnRequiredChange
    ColumnDataTypeChange
    ColumnSizeChange
    The reason for this is that the default algorithm rebuilds the table for these changes and thus their order is irrelevant.
  4. AddTableChange
    needs to come after the table removal (so that tables of the same name are removed) and before the addition of foreign keys etc.
  5. AddForeignKeyChange and AddIndexChange come last after table/column/primary key additions or changes.
processChanges(Database, Database, List, CreationParameters) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Processes the changes. The default argument performs several passes:
  1. RemoveForeignKeyChange and RemoveIndexChange come first to allow for e.g. subsequent primary key changes or column removal.
  2. RemoveTableChange comes after the removal of foreign keys and indices.
  3. These are all handled together:
    RemovePrimaryKeyChange
    AddPrimaryKeyChange
    PrimaryKeyChange
    RemoveColumnChange
    AddColumnChange
    ColumnAutoIncrementChange
    ColumnDefaultValueChange
    ColumnRequiredChange
    ColumnDataTypeChange
    ColumnSizeChange
    The reason for this is that the default algorithm rebuilds the table for these changes and thus their order is irrelevant.
  4. AddTableChange
    needs to come after the table removal (so that tables of the same name are removed) and before the addition of foreign keys etc.
  5. AddForeignKeyChange and AddIndexChange come last after table/column/primary key additions or changes.
processColumnChange(Table, Table, Column, Column, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Processes a change to a column.
processColumnChange(Table, Table, Column, Column) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Processes a change to a column.
processColumnChange(Table, Table, Column, Column) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Processes a change to a column.
processTableStructureChanges(Database, Database, CreationParameters, Collection) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the changes to the structure of tables.
processTableStructureChanges(Database, Database, String, Map, List) - Method in class org.apache.ddlutils.platform.SqlBuilder
Processes the changes to the structure of a single table.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.SqlBuilder
Allows database-specific implementations to handle changes in a database specific manner.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.
processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Allows database-specific implementations to handle changes in a database specific manner. Any handled change should be applied to the given current model (which is a copy of the real original model) and be removed from the list of changes.
In the default implementation, all AddPrimaryKeyChange changes are applied via an ALTER TABLE ADD CONSTRAINT statement.

Q

query(Database, String) - Method in interface org.apache.ddlutils.Platform
Performs the given SQL query returning an iterator over the results.
query(Database, String, Collection) - Method in interface org.apache.ddlutils.Platform
Performs the given parameterized SQL query returning an iterator over the results.
query(Database, String, Table[]) - Method in interface org.apache.ddlutils.Platform
Performs the given SQL query returning an iterator over the results.
query(Database, String, Collection, Table[]) - Method in interface org.apache.ddlutils.Platform
Performs the given parameterized SQL query returning an iterator over the results.
query(Database, String) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Performs the given SQL query returning an iterator over the results.
query(Database, String, Collection) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Performs the given parameterized SQL query returning an iterator over the results.
query(Database, String, Table[]) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Performs the given SQL query returning an iterator over the results.
query(Database, String, Collection, Table[]) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Performs the given parameterized SQL query returning an iterator over the results.
query(Database, String, Collection, Table[]) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
Performs the given parameterized SQL query returning an iterator over the results.
query(Database, String, Table[]) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
Performs the given SQL query returning an iterator over the results.

R

REAL - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.REAL constant.
REF - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.REF constant.
Reference - class org.apache.ddlutils.model.Reference.
Represents a reference between a column in the local table and a column in another table.
Reference() - Constructor for class org.apache.ddlutils.model.Reference
Creates a new, empty reference.
Reference(Column, Column) - Constructor for class org.apache.ddlutils.model.Reference
Creates a new reference between the two given columns.
RemoveColumnChange - class org.apache.ddlutils.alteration.RemoveColumnChange.
Represents the removal of a column from a table.
RemoveColumnChange(Table, Column) - Constructor for class org.apache.ddlutils.alteration.RemoveColumnChange
Creates a new change object.
RemoveForeignKeyChange - class org.apache.ddlutils.alteration.RemoveForeignKeyChange.
Represents the removal of a foreign key from a table.
RemoveForeignKeyChange(Table, ForeignKey) - Constructor for class org.apache.ddlutils.alteration.RemoveForeignKeyChange
Creates a new change object.
RemoveIndexChange - class org.apache.ddlutils.alteration.RemoveIndexChange.
Represents the removal of an index from a table.
RemoveIndexChange(Table, Index) - Constructor for class org.apache.ddlutils.alteration.RemoveIndexChange
Creates a new change object.
RemovePrimaryKeyChange - class org.apache.ddlutils.alteration.RemovePrimaryKeyChange.
Represents the removal of the primary key from a table.
RemovePrimaryKeyChange(Table, Column[]) - Constructor for class org.apache.ddlutils.alteration.RemovePrimaryKeyChange
Creates a new change object.
RemoveTableChange - class org.apache.ddlutils.alteration.RemoveTableChange.
Represents the removal of a table from a model.
RemoveTableChange(Table) - Constructor for class org.apache.ddlutils.alteration.RemoveTableChange
Creates a new change object.
read(String) - Method in class org.apache.ddlutils.io.DatabaseIO
Reads the database model contained in the specified file.
read(File) - Method in class org.apache.ddlutils.io.DatabaseIO
Reads the database model contained in the specified file.
read(Reader) - Method in class org.apache.ddlutils.io.DatabaseIO
Reads the database model given by the reader.
read(InputSource) - Method in class org.apache.ddlutils.io.DatabaseIO
Reads the database model from the given input source.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Extracts a column definition from the result set.
readColumn(ResultSet) - Method in class org.apache.ddlutils.platform.MetaDataColumnDescriptor
Reads the column from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.db2.Db2ModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.derby.DerbyModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mckoi.MckoiModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mssql.MSSqlModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mysql.MySql50ModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mysql.MySqlModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.sapdb.SapDbModelReader
Extracts a column definition from the result set.
readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
Extracts a column definition from the result set.
readColumns(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Reads the column definitions for the indicated table.
readColumns(ResultSet, List) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Reads the indicated columns from the result set.
readColumns(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Reads the column definitions for the indicated table.
readColumns(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Reads the column definitions for the indicated table.
readForeignKey(DatabaseMetaDataWrapper, Map, Map) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Reads the next foreign key spec from the result set.
readForeignKeys(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Retrieves the foreign keys of the indicated table.
readForeignKeys(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.axion.AxionModelReader
Retrieves the foreign keys of the indicated table.
readForeignKeys(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Retrieves the foreign keys of the indicated table.
readForeignKeys(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
Retrieves the foreign keys of the indicated table.
readIndex(DatabaseMetaDataWrapper, Map, Map) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Reads the next index spec from the result set.
readIndex(DatabaseMetaDataWrapper, Map, Map) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
Reads the next index spec from the result set.
readIndices(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Determines the indices for the indicated table.
readIndices(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Determines the indices for the indicated table.
readIndices(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
Determines the indices for the indicated table.
readModel() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Reads the database model on which the commands will work.
readModel() - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Reads the database model on which the commands will work.
readModel() - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Reads the database model on which the commands will work.
readModelFromDatabase(String) - Method in interface org.apache.ddlutils.Platform
Reads the database model from the live database as specified by the data source set for this platform.
readModelFromDatabase(String, String, String, String[]) - Method in interface org.apache.ddlutils.Platform
Reads the database model from the live database as specified by the data source set for this platform.
readModelFromDatabase(Connection, String) - Method in interface org.apache.ddlutils.Platform
Reads the database model from the live database to which the given connection is pointing.
readModelFromDatabase(Connection, String, String, String, String[]) - Method in interface org.apache.ddlutils.Platform
Reads the database model from the live database to which the given connection is pointing.
readModelFromDatabase(String) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Reads the database model from the live database as specified by the data source set for this platform.
readModelFromDatabase(Connection, String) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Reads the database model from the live database to which the given connection is pointing.
readModelFromDatabase(String, String, String, String[]) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Reads the database model from the live database as specified by the data source set for this platform.
readModelFromDatabase(Connection, String, String, String, String[]) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Reads the database model from the live database to which the given connection is pointing.
readPrimaryKeyName(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Extracts a primary key name from the result set.
readPrimaryKeyNames(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Retrieves the names of the columns that make up the primary key for a given table.
readPrimaryKeyNames(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.axion.AxionModelReader
Retrieves the names of the columns that make up the primary key for a given table.
readPrimaryKeyNames(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Retrieves the names of the columns that make up the primary key for a given table.
readPrimaryKeyNames(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Retrieves the names of the columns that make up the primary key for a given table.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.db2.Db2ModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mckoi.MckoiModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mssql.MSSqlModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mysql.MySqlModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle10ModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
Reads the next table from the meta data.
readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
Reads the next table from the meta data.
readTables(String, String, String[]) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Reads the tables from the database metadata.
registerConverter(int, SqlTypeConverter) - Method in class org.apache.ddlutils.io.ConverterConfiguration
Registers the given type converter for an sql type.
registerConverter(String, String, SqlTypeConverter) - Method in class org.apache.ddlutils.io.ConverterConfiguration
Registers the given type converter for the specified column.
registerConverter(DataConverterRegistration) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Registers a converter.
registerJdbcType(int, String, JdbcTypeCategoryEnum) - Static method in class org.apache.ddlutils.model.TypeMap
Registers a jdbc type.
registerPlatform(String, Class) - Static method in class org.apache.ddlutils.PlatformFactory
Registers a new platform.
remove() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator
removeColumn(IndexColumn) - Method in interface org.apache.ddlutils.model.Index
Removes the given index column from this index.
removeColumn(int) - Method in interface org.apache.ddlutils.model.Index
Removes the column at the specified position in this index.
removeColumn(IndexColumn) - Method in class org.apache.ddlutils.model.IndexImpBase
Removes the given index column from this index.
removeColumn(int) - Method in class org.apache.ddlutils.model.IndexImpBase
Removes the column at the specified position in this index.
removeColumn(Column) - Method in class org.apache.ddlutils.model.Table
Removes the given column.
removeColumn(int) - Method in class org.apache.ddlutils.model.Table
Removes the indicated column.
removeForeignKey(ForeignKey) - Method in class org.apache.ddlutils.model.Table
Removes the given foreign key.
removeForeignKey(int) - Method in class org.apache.ddlutils.model.Table
Removes the indicated foreign key.
removeIndex(Index) - Method in class org.apache.ddlutils.model.Table
Removes the given index.
removeIndex(int) - Method in class org.apache.ddlutils.model.Table
Removes the indicated index.
removeInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Tries to remove the internal index for the given foreign key.
removeInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Tries to remove the internal index for the table's primary key.
removePendingFK(Identity) - Method in class org.apache.ddlutils.io.WaitingObject
Removes the specified identity from list of identities of the waited-for objects.
removeReference(Reference) - Method in class org.apache.ddlutils.model.ForeignKey
Removes the given reference.
removeReference(int) - Method in class org.apache.ddlutils.model.ForeignKey
Removes the indicated reference.
removeSystemIndices(DatabaseMetaDataWrapper, Table) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Removes system indices (generated by the database for primary and foreign keys) from the table.
removeSystemIndices(DatabaseMetaDataWrapper, Table) - Method in class org.apache.ddlutils.platform.axion.AxionModelReader
Removes system indices (generated by the database for primary and foreign keys) from the table.
removeTable(Table) - Method in class org.apache.ddlutils.model.Database
Removes the given table.
removeTable(int) - Method in class org.apache.ddlutils.model.Database
Removes the indicated table.
resetDynaClassCache() - Method in class org.apache.ddlutils.model.Database
Resets the dyna class cache.
resolveEntity(String, String) - Method in class org.apache.ddlutils.io.LocalEntityResolver
returnConnection(Connection) - Method in interface org.apache.ddlutils.Platform
Closes the given JDBC connection (returns it back to the pool if the datasource is poolable).
returnConnection(Connection) - Method in class org.apache.ddlutils.util.JdbcSupport
Closes the given JDBC connection (returns it back to the pool if the datasource is poolable).

S

SIZE_PLACEHOLDER - Static variable in class org.apache.ddlutils.platform.SqlBuilder
The placeholder for the size value in the native type spec.
SMALLINT - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.SMALLINT constant.
SPECIAL - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The enum value for special jdbc types.
STRUCT - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.STRUCT constant.
SapDbBuilder - class org.apache.ddlutils.platform.sapdb.SapDbBuilder.
The SQL Builder for SapDB.
SapDbBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Creates a new builder instance.
SapDbModelReader - class org.apache.ddlutils.platform.sapdb.SapDbModelReader.
Reads a database model from a SapDb database.
SapDbModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.sapdb.SapDbModelReader
Creates a new model reader for SapDb databases.
SapDbPlatform - class org.apache.ddlutils.platform.sapdb.SapDbPlatform.
The SapDB platform implementation.
SapDbPlatform() - Constructor for class org.apache.ddlutils.platform.sapdb.SapDbPlatform
Creates a new platform instance.
SetColumnPropertyFromSubElementRule - class org.apache.ddlutils.io.SetColumnPropertyFromSubElementRule.
A digester rule for setting a bean property that corresponds to a column with the value derived from a sub element.
SetColumnPropertyFromSubElementRule(Column, SqlTypeConverter) - Constructor for class org.apache.ddlutils.io.SetColumnPropertyFromSubElementRule
Creates a new creation rule that sets the property corresponding to the given column.
SetColumnPropertyRule - class org.apache.ddlutils.io.SetColumnPropertyRule.
A digester rule for setting a bean property that corresponds to a column.
SetColumnPropertyRule(Column, SqlTypeConverter, boolean) - Constructor for class org.apache.ddlutils.io.SetColumnPropertyRule
Creates a new creation rule that sets the property corresponding to the given column.
SqlBuilder - class org.apache.ddlutils.platform.SqlBuilder.
This class is a collection of Strategy methods for creating the DDL required to create and drop databases and tables.
SqlBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.SqlBuilder
Creates a new sql builder.
SqlDynaBean - class org.apache.ddlutils.dynabean.SqlDynaBean.
SqlDynaBean is a DynaBean which can be persisted as a single row in a Database Table.
SqlDynaBean(DynaClass) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaBean
Creates a new dyna bean of the given class.
SqlDynaClass - class org.apache.ddlutils.dynabean.SqlDynaClass.
SqlDynaClass is a DynaClass which is associated with a persistent Table in a Database.
SqlDynaClass(Table, SqlDynaProperty[]) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaClass
Creates a new dyna class instance for the given table that has the given properties.
SqlDynaException - exception org.apache.ddlutils.dynabean.SqlDynaException.
This exception is thrown when something dealing with sql dyna beans or classes failed.
SqlDynaException() - Constructor for class org.apache.ddlutils.dynabean.SqlDynaException
Creates a new empty exception object.
SqlDynaException(String) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaException
Creates a new exception object.
SqlDynaException(Throwable) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaException
Creates a new exception object.
SqlDynaException(String, Throwable) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaException
Creates a new exception object.
SqlDynaProperty - class org.apache.ddlutils.dynabean.SqlDynaProperty.
A DynaProperty which maps to a persistent Column in a database.
SqlDynaProperty(Column) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaProperty
Creates a property instance for the given column that accepts any data type.
SqlDynaProperty(Column, Class) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaProperty
Creates a property instance for the given column that only accepts the given type.
SqlTokenizer - class org.apache.ddlutils.util.SqlTokenizer.
A statement tokenizer for SQL strings that splits only at delimiters that are at the end of a line or the end of the SQL (row mode).
SqlTokenizer(String) - Constructor for class org.apache.ddlutils.util.SqlTokenizer
Creates a new sql tokenizer.
SqlTypeConverter - interface org.apache.ddlutils.io.converters.SqlTypeConverter.
Interface for classes that convert between strings and sql data types.
SybaseASE15Platform - class org.apache.ddlutils.platform.sybase.SybaseASE15Platform.
The platform implementation for Sybase ASE 15 and above.
SybaseASE15Platform() - Constructor for class org.apache.ddlutils.platform.sybase.SybaseASE15Platform
Creates a new platform instance.
SybaseBuilder - class org.apache.ddlutils.platform.sybase.SybaseBuilder.
The SQL Builder for Sybase.
SybaseBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.sybase.SybaseBuilder
Creates a new builder instance.
SybaseModelReader - class org.apache.ddlutils.platform.sybase.SybaseModelReader.
Reads a database model from a Sybase database.
SybaseModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.sybase.SybaseModelReader
Creates a new model reader for Sybase databases.
SybasePlatform - class org.apache.ddlutils.platform.sybase.SybasePlatform.
The platform implementation for Sybase.
SybasePlatform() - Constructor for class org.apache.ddlutils.platform.sybase.SybasePlatform
Creates a new platform instance.
serialize(Object) - Method in class org.apache.ddlutils.io.BinaryObjectsHelper
Serializes the given object to a byte array representation.
setAlterDatabase(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Specifies whether DdlUtils shall generate SQL to alter an existing database rather than SQL for clearing it and creating it new.
setAlterDatabase(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
Specifies whether DdlUtils shall alter an existing database rather than clearing it and creating it new.
setAlterTableForDropUsed(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether an ALTER TABLE statement shall be used for dropping indices or constraints.
setAtEnd(boolean) - Method in class org.apache.ddlutils.alteration.AddColumnChange
Specifies whether the column is added at the end (when applied in the order of creation of the changes).
setAutoCommitModeForLastIdentityValueReading(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Determines whether auto-commit mode for the reading of the values of identity columns after insertion shall be used, i.e.
setAutoIncrement(boolean) - Method in class org.apache.ddlutils.model.Column
Specifies whether this column is an auto-increment column.
setAutoIndexPresent(boolean) - Method in class org.apache.ddlutils.model.ForeignKey
Specifies whether this foreign key has an auto-generated associated index.
setBatchSize(int) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Sets the (maximum) number of beans to insert in one batch.
setBatchSize(Integer) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Sets the batch size to be used by this object.
setBatchSize(int) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
The maximum number of insert statements to combine in one batch.
setCaseSensitive(boolean) - Method in class org.apache.ddlutils.io.DataReader
Specifies whether this rules object shall match case sensitively.
setCaseSensitive(boolean) - Method in class org.apache.ddlutils.io.DigesterRules
Specifies whether this rules object shall match case sensitively.
setCatalog(String) - Method in class org.apache.ddlutils.model.Table
Sets the catalog of this table.
setCatalog(String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Sets the catalog in the database to read.
setCatalogPattern(String) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Specifies a pattern that defines which database catalogs to use.
setCatalogPattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Sets the catalog pattern used when accessing the database.
setCatalogPattern(String) - Method in class org.apache.ddlutils.task.PlatformConfiguration
Sets the catalog pattern.
setClassName(String) - Method in class org.apache.ddlutils.io.DataConverterRegistration
Sets the converter class.
setColumn(String) - Method in class org.apache.ddlutils.io.DataConverterRegistration
Sets the column for which this converter is defined.
setColumn(Column) - Method in class org.apache.ddlutils.model.IndexColumn
Sets the indexed column.
setColumnPattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Specifies the columns to be processed.
setColumnValue(String, Object) - Method in class org.apache.ddlutils.io.Identity
Specifies the value of the indicated identity columns.
setCommentPrefix(String) - Method in class org.apache.ddlutils.PlatformInfo
Sets the text that starts a comment.
setCommentSuffix(String) - Method in class org.apache.ddlutils.PlatformInfo
Sets the text that ends a comment.
setDataFile(File) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
Specifies the name of the single XML file that contains the data to insert into the database.
setDataSource(DataSource) - Method in interface org.apache.ddlutils.Platform
Sets the data source that this platform shall use to access the database.
setDataSource(BasicDataSource) - Method in class org.apache.ddlutils.task.PlatformConfiguration
Sets the data source to use for accessing the database.
setDataSource(DataSource) - Method in class org.apache.ddlutils.util.JdbcSupport
Sets the DataSource used for communicating with the database.
setDatabaseType(String) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Specifies the database type.
setDatabaseType(String) - Method in class org.apache.ddlutils.task.PlatformConfiguration
Sets the database type.
setDefaultCatalogPattern(String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Sets the catalog(s) in the database to read per default.
setDefaultColumnPattern(String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Sets the default pattern to read the relevant columns from the database.
setDefaultSchemaPattern(String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Sets the schema(s) in the database to read per default.
setDefaultSize(int, int) - Method in class org.apache.ddlutils.PlatformInfo
Adds a default size for the given jdbc type.
setDefaultSize(String, int) - Method in class org.apache.ddlutils.PlatformInfo
Adds a default size for the given jdbc type.
setDefaultTablePattern(String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Sets the default pattern to read the relevant tables from the database.
setDefaultTableTypes(String[]) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Sets the table types to recognize per default.
setDefaultValue(String) - Method in class org.apache.ddlutils.model.Column
Sets the default value of the column.
setDefaultValueUsedForIdentitySpec(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the auto-increment specification uses the DEFAULT value of the column definition.
setDefaultValuesForLongTypesSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether default values can be specified for LONGVARCHAR/LONGVARBINARY columns.
setDelimitedIdentifierModeOn(boolean) - Method in interface org.apache.ddlutils.Platform
Specifies whether delimited identifiers are used or normal SQL92 identifiers.
setDelimitedIdentifierModeOn(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Specifies whether delimited identifiers are used or normal SQL92 identifiers.
setDelimitedIdentifiersSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether delimited identifiers are supported.
setDelimiterToken(String) - Method in class org.apache.ddlutils.PlatformInfo
Sets the text that is used to delimit identifiers (eg.
setDescription(String) - Method in class org.apache.ddlutils.model.Column
Sets the description of the column.
setDescription(String) - Method in class org.apache.ddlutils.model.Table
Sets the description of the table.
setDetermineSchema(boolean) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Deprecated. Will be removed once proper schema support is in place
setDetermineSchema(boolean) - Method in class org.apache.ddlutils.task.WriteDataToFileCommand
Deprecated. Will be removed once proper schema support is in place
setDoDrops(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Specifies whether SQL for dropping tables, external constraints, etc.
setDoDrops(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
Specifies whether tables, external constraints, etc.
setDumpProcedures(boolean) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Specifies whether procedures shall be read from the database.
setDumpTables(boolean) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Specifies whether tables shall be read from the database.
setEmbeddedForeignKeysNamed(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether embedded foreign key constraints should be named.
setEncoding(String) - Method in class org.apache.ddlutils.task.WriteDataToFileCommand
Specifies the encoding of the XML file.
setEnsureFKOrder(boolean) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Specifies whether the sink shall delay the insertion of beans so that the beans referenced by it via foreignkeys are already inserted into the database.
Note that you should careful with setting haltOnErrors to false as this might result in beans not inserted at all.
setEnsureForeignKeyOrder(boolean) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Specifies whether the sink shall delay the insertion of beans so that the beans referenced by it via foreignkeys are already inserted into the database.
Note that you should careful with setting haltOnErrors to false as this might result in beans not inserted at all.
setEnsureForeignKeyOrder(boolean) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
Specifies whether the foreign key order shall be honored when inserting data into the database.
setFailOnError(boolean) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Specifies whether data io shall be stopped when an error happens.
setFailOnError(boolean) - Method in class org.apache.ddlutils.task.DatabaseCommand
Specifies whether the execution shall stop if an error has occurred during the task runs.
setForeignColumn(Column) - Method in class org.apache.ddlutils.model.Reference
Sets the foreign column.
setForeignColumnName(String) - Method in class org.apache.ddlutils.model.Reference
Sets the name of the remote column.
setForeignKeysEmbedded(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether foreign key constraints are embedded in the create table clause or as seperate alter table statements.
setForeignKeysSorted(boolean) - Method in interface org.apache.ddlutils.Platform
Specifies whether foreign keys read from a live database, shall be alphabetically sorted.
setForeignKeysSorted(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Specifies whether foreign keys read from a live database, shall be alphabetically sorted.
setForeignTable(Table) - Method in class org.apache.ddlutils.model.ForeignKey
Sets the foreign table.
setForeignTableName(String) - Method in class org.apache.ddlutils.model.ForeignKey
Sets the name of the foreign table.
setHaltOnErrors(boolean) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Specifies whether this sink halts when an error happens during the insertion of a bean into the database.
setHasNullDefault(int, boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the native type for the given sql type code (one of the Types constants) has a null default value on this platform.
setHasPrecisionAndScale(int, boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the native type for the given sql type code (one of the Types constants) has precision and scale specifications on this platform.
setHasSize(int, boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the native type for the given sql type code (one of the Types constants) has a size specification on this platform.
setIdMethod(String) - Method in class org.apache.ddlutils.model.Database
Sets the method for generating primary key values.
setIdentityOverrideAllowed(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the platform is allows the explicit specification of values for identity columns in INSERT/UPDATE statements.
setIdentityOverrideOn(boolean) - Method in interface org.apache.ddlutils.Platform
Specifies whether SQL insert statements can specify values for identity columns.
setIdentityOverrideOn(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Specifies whether SQL insert statements can specify values for identity columns. This setting is only relevant if the database supports it (PlatformInfo.isIdentityOverrideAllowed()). If this is off, then the insert methods will ignore values for identity columns.
setIdentityStatusReadingSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the platform is able to read the auto-increment status for columns from an existing database.
setIndent(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Sets the string used to indent the SQL.
setIndicesEmbedded(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether indices are embedded in the create table clause or as seperate alter table statements.
setIndicesSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether indices are supported.
setJavaName(String) - Method in class org.apache.ddlutils.model.Column
Sets the java name of the column.
setJdbcType(String) - Method in class org.apache.ddlutils.io.DataConverterRegistration
Sets the jdbc type.
setLastIdentityValueReadable(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the values of identity columns can be read back from the database after insertion of a row.
setLocalColumn(Column) - Method in class org.apache.ddlutils.model.Reference
Sets the local column.
setLocalColumnName(String) - Method in class org.apache.ddlutils.model.Reference
Sets the name of the local column.
setMaxColumnNameLength(int) - Method in class org.apache.ddlutils.PlatformInfo
Sets the maximum length of column names that this database allows.
setMaxConstraintNameLength(int) - Method in class org.apache.ddlutils.PlatformInfo
Sets the maximum length of constraint names that this database allows.
setMaxForeignKeyNameLength(int) - Method in class org.apache.ddlutils.PlatformInfo
Sets the maximum length of foreign key names that this database allows.
setMaxIdentifierLength(int) - Method in class org.apache.ddlutils.PlatformInfo
Sets the maximum length of all identifiers that this database allows.
setMaxTableNameLength(int) - Method in class org.apache.ddlutils.PlatformInfo
Sets the maximum length of table names that this database allows.
setMetaData(DatabaseMetaData) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Sets the database meta data.
setModel(Database) - Method in class org.apache.ddlutils.io.DataReader
Sets the database model.
setModelName(String) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Specifies the name of the model that is read from the database.
setModelReader(JdbcModelReader) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Sets the model reader for this platform.
setName(String) - Method in class org.apache.ddlutils.model.Column
Sets the name of the column.
setName(String) - Method in class org.apache.ddlutils.model.Database
Sets the name of this database model.
setName(String) - Method in class org.apache.ddlutils.model.ForeignKey
Sets the name of this foreign key.
setName(String) - Method in interface org.apache.ddlutils.model.Index
Sets the name of the index.
setName(String) - Method in class org.apache.ddlutils.model.IndexColumn
Sets the name of the column.
setName(String) - Method in class org.apache.ddlutils.model.IndexImpBase
Sets the name of the index.
setName(String) - Method in class org.apache.ddlutils.model.Table
Sets the name of the table.
setName(String) - Method in class org.apache.ddlutils.task.Parameter
Specifies the name of the parameter.
setNonPKIdentityColumnsSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether non-primary key columns can be auto-incrementing (IDENTITY columns).
setNullAsDefaultValueRequired(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether a NULL needs to be explicitly stated when the column has no specified default value.
setObject(PreparedStatement, int, DynaBean, SqlDynaProperty) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Sets a parameter of the prepared statement based on the type of the column of the property.
setObject(PreparedStatement, int, DynaBean, SqlDynaProperty) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
Sets a parameter of the prepared statement based on the type of the column of the property.
setOrdinalPosition(int) - Method in class org.apache.ddlutils.model.IndexColumn
Sets the position within the owning index.
setOutputEncoding(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Specifies the encoding of the output file.
setOutputFile(File) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Specifies the output file to which the database metadata is written to.
setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteDataToFileCommand
Specifies the file to write the data XML to.
setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteDtdToFileCommand
Specifies the name of the file to write the DTD to.
setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Specifies the name of the file to write the SQL commands to.
setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteSchemaToFileCommand
Specifies the name of the file to write the schema XML to.
setPassword(String) - Method in interface org.apache.ddlutils.Platform
Sets the password that this platform shall use to access the database.
setPassword(String) - Method in class org.apache.ddlutils.util.JdbcSupport
Sets the password to be used to access the database.
setPlatformConfiguration(PlatformConfiguration) - Method in class org.apache.ddlutils.task.DatabaseCommand
Sets the platform configuration.
setPlatforms(String) - Method in class org.apache.ddlutils.task.Parameter
Specifies the platforms - a comma-separated list of platform names - for which this parameter shall be used (see the databaseType attribute of the tasks for possible values).
setPrecisionRadix(int) - Method in class org.apache.ddlutils.model.Column
Sets the precision radix of the column.
setPrettyPrinting(boolean) - Method in class org.apache.ddlutils.io.DataWriter
Specifies whether the output shall be pretty-printed.
setPrimaryKey(boolean) - Method in class org.apache.ddlutils.model.Column
Specifies whether this column is a primary key column.
setPrimaryKeyEmbedded(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the primary key constraints are embedded in the create table clause or as seperate alter table statements.
setProcedurePattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Specifies the procedures to be processed.
setRequired(boolean) - Method in class org.apache.ddlutils.model.Column
Specifies whether this column is a required column, ie.
setScale(int) - Method in class org.apache.ddlutils.model.Column
Sets the scale of the column.
setSchema(String) - Method in class org.apache.ddlutils.model.Table
Sets the schema of this table.
setSchemaFile(File) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Defines the single file that contains the database file.
setSchemaPattern(String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Deprecated. Will be removed once proper schema support is in place
setSchemaPattern(String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Sets the schema in the database to read.
setSchemaPattern(String) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Specifies a pattern that defines which database schemas to use.
setSchemaPattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Sets the schema pattern used when accessing the database.
setSchemaPattern(String) - Method in class org.apache.ddlutils.task.PlatformConfiguration
Sets the schema pattern.
setScriptModeOn(boolean) - Method in interface org.apache.ddlutils.Platform
Specifies whether script mode is on.
setScriptModeOn(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Specifies whether script mode is on. This means that the generated SQL is not intended to be sent directly to the database but rather to be saved in a SQL script file.
setSequenceValue(int) - Method in class org.apache.ddlutils.model.Reference
Sets the sequence value within the owning key.
setShutdownDatabase(boolean) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Specifies whether DdlUtils shall shut down the database after the task has finished.
setShutdownDatabase(boolean) - Method in class org.apache.ddlutils.task.PlatformConfiguration
Specifies whether the database shall be shut down after the task has finished.
setSink(DataSink) - Method in class org.apache.ddlutils.io.DataReader
Sets the data sink.
setSize(String) - Method in class org.apache.ddlutils.model.Column
Sets the size of the column.
setSize(String) - Method in class org.apache.ddlutils.model.IndexColumn
Sets the size of the column in the index.
setSizeAndScale(int, int) - Method in class org.apache.ddlutils.model.Column
Sets both the size and scale.
setSortForeignKeys(boolean) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Specifies whether DdlUtils shall sort the foreign keys of a table read from a live database or leave them in the order in which they are returned by the database/JDBC driver.
setSortForeignKeys(boolean) - Method in class org.apache.ddlutils.task.PlatformConfiguration
Specifies whether a table's foreign keys read from a live database shall be sorted alphabetically.
setSqlBuilder(SqlBuilder) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Sets the sql builder for this platform.
setSqlCommandDelimiter(String) - Method in class org.apache.ddlutils.PlatformInfo
Sets the text separating individual sql commands.
setSqlCommentsOn(boolean) - Method in interface org.apache.ddlutils.Platform
Specifies whether SQL comments shall be generated.
setSqlCommentsOn(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Specifies whether SQL comments shall be generated.
setSqlCommentsSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether SQL comments are supported by the database.
setStatementParameterValue(PreparedStatement, int, int, Object) - Method in class org.apache.ddlutils.platform.PlatformImplBase
This is the core method to set the parameter of a prepared statement to a given value.
setStatementParameterValue(PreparedStatement, int, int, Object) - Method in class org.apache.ddlutils.platform.interbase.InterbasePlatform
This is the core method to set the parameter of a prepared statement to a given value. The primary purpose of this method is to call the appropriate method on the statement, and to give database-specific implementations the ability to change this behavior.
setStatementParameterValue(PreparedStatement, int, int, Object) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
This is the core method to set the parameter of a prepared statement to a given value. The primary purpose of this method is to call the appropriate method on the statement, and to give database-specific implementations the ability to change this behavior.
setSyntheticDefaultValueForRequiredReturned(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the platform returns synthetic default values (e.g.
setSystemForeignKeyIndicesAlwaysNonUnique(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether system indices for foreign keys are always non-unique or can be unique (i.e.
setSystemIndicesReturned(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether database-generated indices for primary and foreign keys are returned when reading a model from a database.
setTable(String) - Method in class org.apache.ddlutils.io.DataConverterRegistration
Sets the table for whose column this converter is defined.
setTable(String) - Method in class org.apache.ddlutils.task.TableSpecificParameter
Specifies the name of the table in whose creation this parameter shall be applied.
setTablePattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Specifies the table to be processed.
setTableTypes(String[]) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
Sets the table types to recognize.
setTableTypes(String) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Specifies the table types to be processed.
setTableTypes(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Specifies the table types to be processed.
setTables(String) - Method in class org.apache.ddlutils.task.TableSpecificParameter
Specifies the comma-separated list of table names in whose creation this parameter shall be used.
setType(String) - Method in class org.apache.ddlutils.model.Column
Sets the JDBC type of the column.
setType(String) - Method in class org.apache.ddlutils.model.Table
Sets the type of this table.
setTypeCode(int) - Method in class org.apache.ddlutils.model.Column
Sets the code (one of the constants in Types) of the JDBC type of the column.
setUseBatchMode(boolean) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Specifies whether batch mode is used for inserting the beans.
setUseBatchMode(boolean) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Specifies whether batch mode should be used for inserting data into the database.
setUseBatchMode(boolean) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
Specifies whether batch mode shall be used for inserting the data.
setUseDelimitedSqlIdentifiers(boolean) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Specifies whether DdlUtils shall use delimited (quoted) identifiers (such as table and column names).
setUseDelimitedSqlIdentifiers(boolean) - Method in class org.apache.ddlutils.task.PlatformConfiguration
Specifies whether delimited SQL identifiers shall be used.
setUseExplicitIdentityValues(boolean) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
Defines whether values for identity columns in the data XML shall be used instead of letting the database define the value.
setUseInternalDtd(boolean) - Method in class org.apache.ddlutils.io.DatabaseIO
Specifies whether the internal dtd is to be used.
setUseInternalDtd(boolean) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Specifies whether DdlUtils shall use the embedded DTD for validating the schema XML (if it matches http://db.apache.org/torque/dtd/database.dtd).
setUsername(String) - Method in interface org.apache.ddlutils.Platform
Sets the username that this platform shall use to access the database.
setUsername(String) - Method in class org.apache.ddlutils.util.JdbcSupport
Sets the username to be used to access the database.
setValidateXml(boolean) - Method in class org.apache.ddlutils.io.DatabaseIO
Specifies whether XML shall be validated upon reading it.
setValidateXml(boolean) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Specifies whether XML input files should be validated against the DTD at all.
setValue(String) - Method in class org.apache.ddlutils.task.Parameter
Specifies the parameter value.
setValueDateFormat(DateFormat) - Method in class org.apache.ddlutils.platform.SqlBuilder
Sets the format object for formatting dates in the specified locale.
setValueLocale(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Sets the locale that is used for number and date formatting (when printing default values and in generates insert/update/delete statements).
setValueNumberFormat(NumberFormat) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns a new date format object for formatting numbers in the specified locale.
setValueQuoteToken(String) - Method in class org.apache.ddlutils.PlatformInfo
Sets the text that is used for for quoting values (e.g.
setValueTimeFormat(DateFormat) - Method in class org.apache.ddlutils.platform.SqlBuilder
Sets the date format object for formatting times in the specified locale.
setVerbosity(DatabaseTaskBase.VerbosityLevel) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Specifies the verbosity of the task's debug output.
setVersion(String) - Method in class org.apache.ddlutils.model.Database
Sets the version of this database model.
setWriter(Writer) - Method in class org.apache.ddlutils.platform.SqlBuilder
Sets the writer for printing the DDL to.
shortenName(String, int) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates a version of the name that has at most the specified length.
shouldGeneratePrimaryKeys(Column[]) - Method in class org.apache.ddlutils.platform.SqlBuilder
Determines whether we should generate a primary key constraint for the given primary key columns.
shouldGeneratePrimaryKeys(Column[]) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Determines whether we should generate a primary key constraint for the given primary key columns.
shutdownDatabase() - Method in interface org.apache.ddlutils.Platform
Performs a shutdown at the database.
shutdownDatabase(Connection) - Method in interface org.apache.ddlutils.Platform
Performs a shutdown at the database.
shutdownDatabase() - Method in class org.apache.ddlutils.platform.PlatformImplBase
Performs a shutdown at the database. This is necessary for some embedded databases which otherwise would be locked and thus would refuse other connections. Note that this does not change the database structure or data in it in any way.
shutdownDatabase(Connection) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Performs a shutdown at the database. This is necessary for some embedded databases which otherwise would be locked and thus would refuse other connections. Note that this does not change the database structure or data in it in any way.
shutdownDatabase(Connection) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
Performs a shutdown at the database. This is necessary for some embedded databases which otherwise would be locked and thus would refuse other connections. Note that this does not change the database structure or data in it in any way.
sortForeignKeys(boolean) - Method in class org.apache.ddlutils.model.Table
Sorts the foreign keys alphabetically.
sortForeignKeys(Database) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Sorts the foreign keys in the tables of the model.
start() - Method in interface org.apache.ddlutils.io.DataSink
Notifies the sink that beans will be added.
start() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Notifies the sink that beans will be added.
store(Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Stores the given bean in the database, inserting it if there is no primary key otherwise the bean is updated in the database.
store(Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Stores the given bean in the database, inserting it if there is no primary key otherwise the bean is updated in the database.
supportsJava14BatchResultCodes() - Static method in class org.apache.ddlutils.util.Jdbc3Utils
Determines whether the system supports the Java 1.4 batch result codes.
supportsJava14JdbcTypes() - Static method in class org.apache.ddlutils.util.Jdbc3Utils
Determines whether the system supports the Java 1.4 JDBC Types, DATALINK and BOOLEAN.

T

TEXTUAL - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The enum value for textual jdbc types.
TIME - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.TIME constant.
TIMESTAMP - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.TIMESTAMP constant.
TINYINT - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.TINYINT constant.
Table - class org.apache.ddlutils.model.Table.
Represents a table in the database model.
Table() - Constructor for class org.apache.ddlutils.model.Table
 
TableChange - interface org.apache.ddlutils.alteration.TableChange.
Represents a change to a table or sub-element of a table (e.g.
TableChangeImplBase - class org.apache.ddlutils.alteration.TableChangeImplBase.
Base class for change implementations.
TableChangeImplBase(Table) - Constructor for class org.apache.ddlutils.alteration.TableChangeImplBase
Creates a new change object.
TableSpecificParameter - class org.apache.ddlutils.task.TableSpecificParameter.
Specifies a parameter for the creation of the tables.
TableSpecificParameter() - Constructor for class org.apache.ddlutils.task.TableSpecificParameter
 
TimeConverter - class org.apache.ddlutils.io.converters.TimeConverter.
Converts between Time and String using the standard representation "hh:mm:ss".
TimeConverter() - Constructor for class org.apache.ddlutils.io.converters.TimeConverter
Creates a new time converter object.
TimestampConverter - class org.apache.ddlutils.io.converters.TimestampConverter.
Converts between Timestamp and String using the standard representation "yyyy-mm-dd hh:mm:ss.fffffffff".
TimestampConverter() - Constructor for class org.apache.ddlutils.io.converters.TimestampConverter
 
TypeMap - class org.apache.ddlutils.model.TypeMap.
A class that maps SQL type names to their JDBC type ID found in Types and vice versa.
TypeMap() - Constructor for class org.apache.ddlutils.model.TypeMap
 
toColumnValues(SqlDynaProperty[], DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Derives the column values for the given dyna properties from the dyna bean.
toString() - Method in class org.apache.ddlutils.dynabean.SqlDynaBean
toString() - Method in class org.apache.ddlutils.io.Identity
toString() - Method in class org.apache.ddlutils.io.WaitingObject
toString() - Method in class org.apache.ddlutils.model.Column
toString() - Method in class org.apache.ddlutils.model.Database
toString() - Method in class org.apache.ddlutils.model.ForeignKey
toString() - Method in class org.apache.ddlutils.model.IndexColumn
toString() - Method in class org.apache.ddlutils.model.NonUniqueIndex
toString() - Method in class org.apache.ddlutils.model.Reference
toString() - Method in class org.apache.ddlutils.model.Table
toString() - Method in class org.apache.ddlutils.model.UniqueIndex
toVerboseString() - Method in class org.apache.ddlutils.model.Column
Returns a verbose string representation of this column.
toVerboseString() - Method in class org.apache.ddlutils.model.Database
Returns a verbose string representation of this database.
toVerboseString() - Method in class org.apache.ddlutils.model.ForeignKey
Returns a verbose string representation of this foreign key.
toVerboseString() - Method in interface org.apache.ddlutils.model.Index
Returns a verbose string representation of this index.
toVerboseString() - Method in class org.apache.ddlutils.model.NonUniqueIndex
Returns a verbose string representation of this index.
toVerboseString() - Method in class org.apache.ddlutils.model.Table
Returns a verbose string representation of this table.
toVerboseString() - Method in class org.apache.ddlutils.model.UniqueIndex
Returns a verbose string representation of this index.

U

UniqueIndex - class org.apache.ddlutils.model.UniqueIndex.
Provides compatibility with Torque-style xml with separate <index> and <unique> tags, but adds no functionality.
UniqueIndex() - Constructor for class org.apache.ddlutils.model.UniqueIndex
 
unescape(String, String, String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Replaces a specific character sequence in the given text with the character sequence whose escaped version it is.
update(Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Updates the given bean in the database, assuming the primary key values are specified.
update(Connection, Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
Updates the row which maps to the given bean.
update(Connection, Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Updates the row which maps to the given bean.
update(Database, DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Updates the given bean in the database, assuming the primary key values are specified.

V

VALUE_BINARY - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The integer value for the enum value for binary jdbc types.
VALUE_DATETIME - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The integer value for the enum value for date/time jdbc types.
VALUE_NUMERIC - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The integer value for the enum value for numeric jdbc types.
VALUE_OTHER - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The integer value for the enum value for all other jdbc types.
VALUE_SPECIAL - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The integer value for the enum value for special jdbc types.
VALUE_TEXTUAL - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
The integer value for the enum value for textual jdbc types.
VARBINARY - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.VARBINARY constant.
VARCHAR - Static variable in class org.apache.ddlutils.model.TypeMap
The string representation of the Types.VARCHAR constant.

W

WaitingObject - class org.apache.ddlutils.io.WaitingObject.
Represents an object waiting for insertion into the database.
WaitingObject(DynaBean, Identity) - Constructor for class org.apache.ddlutils.io.WaitingObject
Creates a new WaitingObject instance for the given object.
WriteDataToDatabaseCommand - class org.apache.ddlutils.task.WriteDataToDatabaseCommand.
Inserts the data defined by the data XML file(s) into the database.
WriteDataToDatabaseCommand() - Constructor for class org.apache.ddlutils.task.WriteDataToDatabaseCommand
 
WriteDataToFileCommand - class org.apache.ddlutils.task.WriteDataToFileCommand.
Reads the data currently in the table in the live database (as specified by the enclosing task), and writes it as XML to a file.
WriteDataToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteDataToFileCommand
 
WriteDtdToFileCommand - class org.apache.ddlutils.task.WriteDtdToFileCommand.
Creates a DTD that specifies the layout for data XML files.
This sub task does not require a database connection, so the dataSource sub element of the enclosing task can be omitted.
WriteDtdToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteDtdToFileCommand
 
WriteSchemaSqlToFileCommand - class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand.
Parses the schema XML files specified in the enclosing task, and writes the SQL statements necessary to create this schema in the database, to a file.
WriteSchemaSqlToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
 
WriteSchemaToDatabaseCommand - class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand.
Parses the schema XML files specified for the enclosing task, and creates the corresponding schema in the database.
WriteSchemaToDatabaseCommand() - Constructor for class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
 
WriteSchemaToFileCommand - class org.apache.ddlutils.task.WriteSchemaToFileCommand.
Reads the schema of the live database (as specified in the enclosing task), and writes it as XML to a file.
WriteSchemaToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteSchemaToFileCommand
 
write(SqlDynaBean) - Method in class org.apache.ddlutils.io.DataWriter
Writes the given bean.
write(Iterator) - Method in class org.apache.ddlutils.io.DataWriter
Writes the beans contained in the given iterator.
write(Collection) - Method in class org.apache.ddlutils.io.DataWriter
Writes the beans contained in the given collection.
write(Database, String) - Method in class org.apache.ddlutils.io.DatabaseIO
Writes the database model to the specified file.
write(Database, OutputStream) - Method in class org.apache.ddlutils.io.DatabaseIO
Writes the database model to the given output stream.
write(Database, Writer) - Method in class org.apache.ddlutils.io.DatabaseIO
Writes the database model to the given output writer.
writeCastExpression(Column, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes a cast expression that converts the value of the source column to the data type of the target column.
writeCastExpression(Column, Column) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Writes a cast expression that converts the value of the source column to the data type of the target column. Per default, simply the name of the source column is written thereby assuming that any casts happen implicitly.
writeCastExpression(Column, Column) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
Writes a cast expression that converts the value of the source column to the data type of the target column. Per default, simply the name of the source column is written thereby assuming that any casts happen implicitly.
writeCastExpression(Column, Column) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Writes a cast expression that converts the value of the source column to the data type of the target column. Per default, simply the name of the source column is written thereby assuming that any casts happen implicitly.
writeColumn(Table, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL for the specified column.
writeColumn(Table, Column) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Outputs the DDL for the specified column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.axion.AxionBuilder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.cloudscape.CloudscapeBuilder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
Prints that the column is an auto increment column.
writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Prints that the column is an auto increment column.
writeColumnDefaultValue(Table, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints the default value of the column.
writeColumnDefaultValue(Table, Column) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
Prints the default value of the column.
writeColumnDefaultValueStmt(Table, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints the default value stmt part for the column.
writeColumnNotNullableStmt() - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints that a column is not nullable.
writeColumnNullableStmt() - Method in class org.apache.ddlutils.platform.SqlBuilder
Prints that a column is nullable.
writeColumns(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the columns of the given table.
writeCopyDataStatement(Table, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes a statement that copies the data from the source to the target table.
writeCopyDataStatement(Table, Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Writes a statement that copies the data from the source to the target table. Note that this copies only those columns that are in both tables. Database-specific implementations might redefine this method though they usually it suffices to redefine the SqlBuilder.writeCastExpression(Column, Column) method.
writeCopyDataStatement(Table, Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Writes a statement that copies the data from the source to the target table. Note that this copies only those columns that are in both tables. Database-specific implementations might redefine this method though they usually it suffices to redefine the SqlBuilder.writeCastExpression(Column, Column) method.
writeDataToDatabase(Platform, String[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the specified files and writes it to the database to which the given platform is connected.
writeDataToDatabase(Platform, InputStream[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the given input streams and writes it to the database to which the given platform is connected.
writeDataToDatabase(Platform, Reader[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the given input readers and writes it to the database to which the given platform is connected.
writeDataToDatabase(Platform, Database, String[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the indicated files and writes it to the database to which the given platform is connected.
writeDataToDatabase(Platform, Database, InputStream[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the given input streams and writes it to the database to which the given platform is connected.
writeDataToDatabase(Platform, Database, Reader[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the given input readers and writes it to the database to which the given platform is connected.
writeDataToDatabase(DataReader, String[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the specified files and writes it to the database via the given data reader.
writeDataToDatabase(DataReader, InputStream[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the given input stream and writes it to the database via the given data reader.
writeDataToDatabase(DataReader, Reader[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the given input stream and writes it to the database via the given data reader.
writeDataToDatabase(DataReader, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the indicated XML file and writes it to the database via the given data reader.
writeDataToDatabase(DataReader, InputStream) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the given input stream and writes it to the database via the given data reader.
writeDataToDatabase(DataReader, Reader) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Reads the data from the given input stream and writes it to the database via the given data reader.
writeDataToXML(Platform, String, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Writes the data contained in the database to which the given platform is connected, as XML to the given output stream (which won't be closed by this method).
writeDataToXML(Platform, Database, String, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Writes the data contained in the database to which the given platform is connected, as XML to the given output stream (which won't be closed by this method).
writeDataToXML(Platform, OutputStream, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Writes the data contained in the database to which the given platform is connected, as XML to the given output stream (which won't be closed by this method).
writeDataToXML(Platform, Database, OutputStream, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Writes the data contained in the database to which the given platform is connected, as XML to the given output stream (which won't be closed by this method).
writeDataToXML(Platform, Writer, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Writes the data contained in the database to which the given platform is connected, as XML to the given output writer (which won't be closed by this method).
writeDataToXML(Platform, Database, Writer, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Writes the data contained in the database to which the given platform is connected, as XML to the given output writer (which won't be closed by this method).
writeDataToXML(Platform, DataWriter) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Writes the data contained in the database to which the given platform is connected, as XML to the given data writer.
writeDataToXML(Platform, Database, DataWriter) - Method in class org.apache.ddlutils.io.DatabaseDataIO
Writes the data contained in the database to which the given platform is connected, as XML to the given data writer.
writeDocumentEnd() - Method in class org.apache.ddlutils.io.DataWriter
Writes the end of the XML document, i.e.
writeDocumentStart() - Method in class org.apache.ddlutils.io.DataWriter
Writes the start of the XML document, i.e.
writeDtd(Database, Writer) - Method in class org.apache.ddlutils.io.DataDtdWriter
Writes the DTD for data xml files for the given database model, to the specified writer.
writeEmbeddedForeignKeysStmt(Database, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the foreign key constraints inside a create table () clause.
writeEmbeddedIndexCreateStmt(Table, Index) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the given embedded index of the table.
writeEmbeddedIndicesStmt(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the indexes embedded within the create table statement.
writeEmbeddedPrimaryKeysStmt(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the primary key constraints of the table inside its definition.
writeExternalForeignKeyCreateStmt(Database, Table, ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes a single foreign key constraint using a alter table statement.
writeExternalForeignKeyDropStmt(Table, ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the statement to drop a foreignkey constraint from the database using an alter table statement.
writeExternalForeignKeyDropStmt(Table, ForeignKey) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Generates the statement to drop a foreignkey constraint from the database using an alter table statement.
writeExternalForeignKeyDropStmt(Table, ForeignKey) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Generates the statement to drop a foreignkey constraint from the database using an alter table statement.
writeExternalForeignKeyDropStmt(Table, ForeignKey) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Generates the statement to drop a foreignkey constraint from the database using an alter table statement.
writeExternalIndexCreateStmt(Table, Index) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the given index of the table.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.axion.AxionBuilder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Generates the statement to drop a non-embedded index from the database.
writeExternalIndicesCreateStmt(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the indexes of the given table.
writeExternalPrimaryKeysCreateStmt(Table, Column[]) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the primary key constraints of the table as alter table statements.
writeForeignReferences(ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes a list of foreign references for the given foreign key.
writeLocalReferences(ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes a list of local references for the given foreign key.
writePrimaryKeyStmt(Table, Column[]) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes a primary key statement for the given columns.
writeTableAlterStmt(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the first part of the ALTER TABLE statement including the table name.
writeTableComment(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs a comment for the table.
writeTableCreationStmt(Database, Table, Map) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the table creation statement without the statement end.
writeTableCreationStmtEnding(Table, Map) - Method in class org.apache.ddlutils.platform.SqlBuilder
Writes the end of the table creation statement.
writeTableCreationStmtEnding(Table, Map) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Writes the end of the table creation statement. Per default, only the end of the statement is written, but this can be changed in subclasses.

_

_columns - Variable in class org.apache.ddlutils.model.IndexImpBase
The columns making up the index.
_log - Variable in class org.apache.ddlutils.platform.SqlBuilder
The Log to which logging calls will be made.
_log - Variable in class org.apache.ddlutils.task.DatabaseCommand
The log.
_log - Variable in class org.apache.ddlutils.task.DatabaseTaskBase
The log.
_name - Variable in class org.apache.ddlutils.model.IndexColumn
The name of the column.
_name - Variable in class org.apache.ddlutils.model.IndexImpBase
The name of the index.
_size - Variable in class org.apache.ddlutils.model.IndexColumn
The size of the column in the index.

A B C D E F G H I J L M N O P Q R S T U V W _

Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.