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.
AxionBuilder - class org.apache.ddlutils.platform.axion.AxionBuilder.
The SQL Builder for the Axion database.
AxionBuilder(PlatformInfo) - Constructor for class org.apache.ddlutils.platform.axion.AxionBuilder
Creates a new axion sql builder.
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.NonUniqueIndex
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 .
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.
addDefaultSize(int, int) - Method in class org.apache.ddlutils.PlatformInfo
Adds a default size for the given jdbc type.
addDefaultSize(String, int) - Method in class org.apache.ddlutils.PlatformInfo
Adds a default size for the given jdbc type.
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.
alterDatabase(Database, Database) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the DDL to modify an existing database so the schema matches the current specified database schema.
alterDatabase(Database, Database, boolean, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the DDL to modify an existing database so the schema matches the current specified database schema.
alterDatabase(Database, Database, CreationParameters, boolean, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the DDL to modify an existing database so the schema matches the current specified database schema.
alterTable(Database, Table, Database, Table, boolean, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Alters the given currently existing table object to match the given desired table object.
alterTable(Database, Table, Database, Table, boolean, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Alters the given currently existing table object to match the given desired table object.
alterTable(Database, Table, Database, Table, boolean, boolean) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Alters the given currently existing table object to match the given desired table object.
alterTables(Database, boolean, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Database, CreationParameters, boolean, boolean, 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, boolean, 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, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Connection, Database, boolean, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Connection, Database, CreationParameters, boolean, boolean, 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, boolean, 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, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Alters the database schema so that it match the given model.
alterTables(Database, boolean, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
alterTables(Database, CreationParameters, boolean, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
alterTables(Connection, Database, boolean, boolean, 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, boolean, 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, boolean, 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, boolean, 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, boolean, 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, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
Alters the database schema so that it match the given model.
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

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
 
begin(String, String, Attributes) - Method in class org.apache.ddlutils.io.DynaSqlCreateRule
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.
CloudscapeBuilder - class org.apache.ddlutils.platform.cloudscape.CloudscapeBuilder.
The SQL Builder for Cloudscape.
CloudscapeBuilder(PlatformInfo) - 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
 
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.
Command for creating a 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 class org.apache.ddlutils.model.IndexColumn
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.
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.
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.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.
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.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.
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.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.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.
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.
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
 
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
 
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
 
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.
Ant task for working with a database, e.g.
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
 
Db2Builder - class org.apache.ddlutils.platform.db2.Db2Builder.
The SQL Builder for DB2.
Db2Builder(PlatformInfo) - 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(PlatformInfo) - 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.
DdlToDatabaseTask - class org.apache.ddlutils.task.DdlToDatabaseTask.
Ant task for working with DDL, e.g.
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(PlatformInfo) - 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(PlatformInfo) - 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.
Command for dropping a database.
DropDatabaseCommand() - Constructor for class org.apache.ddlutils.task.DropDatabaseCommand
 
DumpMetadataTask - class org.apache.ddlutils.task.DumpMetadataTask.
A simple task that dumps information about a database.
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.
DynaSqlException - exception org.apache.ddlutils.DynaSqlException.
This exception is thrown when a database operation failed.
DynaSqlException() - Constructor for class org.apache.ddlutils.DynaSqlException
Creates a new empty exception object.
DynaSqlException(String) - Constructor for class org.apache.ddlutils.DynaSqlException
Creates a new exception object.
DynaSqlException(Throwable) - Constructor for class org.apache.ddlutils.DynaSqlException
Creates a new exception object.
DynaSqlException(String, Throwable) - Constructor for class org.apache.ddlutils.DynaSqlException
Creates a new exception object.
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.
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.
determineAutoIncrementFromResultSetMetaData(Table, Column[]) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
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.
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(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.
dropTable(Table) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle10Builder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Outputs the DDL to drop the table.
dropTable(Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
Outputs the DDL to drop the table.
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.

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
endDocument() - Method in class org.apache.ddlutils.io.DataReader
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
escapeStringValue(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
Escapes the necessary characters in given string value.
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
evaluateBatch(Connection, String, boolean) - Method in class org.apache.ddlutils.platform.firebird.FirebirdPlatform
Firebird-specific replacement for PlatformImplBase.evaluateBatch(Connection, String, boolean) that executes blocks delimited by the term FirebirdBuilder.TERM_COMMAND (defined in the database via SET TERM !!;), in one go.
execute(Task, Database) - Method in interface org.apache.ddlutils.task.Command
Executes this command.
execute(Task, Database) - Method in class org.apache.ddlutils.task.CreateDatabaseCommand
Executes this command.
execute() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
execute(Task, Database) - Method in class org.apache.ddlutils.task.DropDatabaseCommand
Executes this command.
execute() - Method in class org.apache.ddlutils.task.DumpMetadataTask
execute(Task, Database) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
Executes this command.
execute(Task, Database) - Method in class org.apache.ddlutils.task.WriteDataToFileCommand
Executes this command.
execute(Task, Database) - Method in class org.apache.ddlutils.task.WriteDtdToFileCommand
Executes this command.
execute(Task, Database) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Executes this command.
execute(Task, Database) - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
Executes this command.
execute(Task, Database) - Method in class org.apache.ddlutils.task.WriteSchemaToFileCommand
Executes this command.
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.

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(PlatformInfo) - 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(PlatformInfo) - 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).
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.
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.
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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
Returns the SQL for altering the database schema so that it match the given model.
getAlterTablesSql(Database, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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, boolean, boolean, boolean) - 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.
getBatchSize() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Returns the (maximum) number of beans to insert in one batch.
getCanReadAutoIncrementStatus() - 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.
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.
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(int) - Method in class org.apache.ddlutils.model.NonUniqueIndex
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.NonUniqueIndex
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.
getColumnName(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the column name.
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.NonUniqueIndex
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.
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.
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.
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.
getDeleteSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
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.
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.
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(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.
getIdMethod() - Method in class org.apache.ddlutils.model.Database
Returns the method for generating primary key values.
getIndent() - Method in class org.apache.ddlutils.platform.SqlBuilder
Returns the string used to indent the SQL.
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.
getInsertSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
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.
getMaxIdentifierLength() - Method in class org.apache.ddlutils.PlatformInfo
Returns the maximum length of identifiers that this database allows.
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.NonUniqueIndex
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.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.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.
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.
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.
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.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.
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.
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.
getReader() - Method in class org.apache.ddlutils.io.DatabaseIO
Returns a new bean reader configured to read database models.
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.
getSelectLastInsertId(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the SQL for querying the id that was created in the last insertion operation.
getSelectLastInsertId(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.
getSelectLastInsertId(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.
getSelectLastInsertId(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.
getSelectLastInsertId(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.
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(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.
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.
getUpdateSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
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.
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.
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).
getValueQuoteToken() - Method in class org.apache.ddlutils.PlatformInfo
Returns the text that is used for for quoting values (e.g.
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(PlatformInfo) - 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(PlatformInfo) - 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.
hasCommands() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Determines whether there are commands to perform.
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(String) - Constructor for class org.apache.ddlutils.io.Identity
Creates a new identity object for the indicated table.
Identity(String, String) - Constructor for class org.apache.ddlutils.io.Identity
Creates a new identity object for the indicated 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(String) - Constructor for class org.apache.ddlutils.model.IndexColumn
Creates a new index column object.
InterbaseBuilder - class org.apache.ddlutils.platform.interbase.InterbaseBuilder.
The SQL Builder for the Interbase database.
InterbaseBuilder(PlatformInfo) - Constructor for class org.apache.ddlutils.platform.interbase.InterbaseBuilder
Creates a new builder instance.
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.
isAutoIncrement() - Method in class org.apache.ddlutils.model.Column
Determines whether this column is an auto-increment column.
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.PlatformInfo
Determines whether the database has case sensitive identifiers.
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.
isCommentsSupported() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the database supports comments.
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.
isDoDrops() - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Determines whether 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.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.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.
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.
isIdentitySpecUsesDefaultValue() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the auto-increment specification uses the DEFAULT value of the column definition.
isIndicesEmbedded() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the indices are embedded in the create table clause or as seperate statements.
isInternalForeignKeyIndex(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(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(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(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(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(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(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(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(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(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(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(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.
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(Task, 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(Task, 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(Task, 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(Task, 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(Task, Database) cannot be null.
isRequiringNullAsDefaultValue() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether a NULL needs to be explicitly stated when the column has no specified default value.
isReturningDefaultValueForRequired() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether the platform returns synthetic default values (e.g.
isReturningSystemIndices() - 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.
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.
isSupportingDefaultValuesForLongTypes() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether default values can be specified for LONGVARCHAR/LONGVARBINARY columns.
isSupportingDelimitedIdentifiers() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether delimited identifiers are supported.
isSupportingNonPKIdentityColumns() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether non-primary key columns can be auto-incrementing (IDENTITY columns).
isSupportingNonUniqueIndices() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether non-unique indices are supported.
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.
isUseAlterTableForDrop() - Method in class org.apache.ddlutils.PlatformInfo
Determines whether an ALTER TABLE statement shall be used for dropping indices or constraints.
isUseBatchMode() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Determines whether batch mode is used for inserting the beans.
isUseDelimitedIdentifiers() - Method in class org.apache.ddlutils.PlatformInfo
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).
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.
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.MySql50Platform
The standard MySQL 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_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.MySql50Platform
The old MySQL jdbc driver.
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.MySql50Platform
The subprotocol used by the standard MySQL 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_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 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.
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(PlatformInfo) - 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

MSSqlBuilder - class org.apache.ddlutils.platform.mssql.MSSqlBuilder.
The SQL Builder for the Microsoft SQL Server.
MSSqlBuilder(PlatformInfo) - 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(PlatformInfo) - 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(PlatformInfo) - 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(PlatformInfo) - 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.
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.
MySql50ModelReader - class org.apache.ddlutils.platform.mysql.MySql50ModelReader.
Reads a database model from a MySql 5 database.
MySql50ModelReader(PlatformInfo) - 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.0.x.
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(PlatformInfo) - 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(PlatformInfo) - Constructor for class org.apache.ddlutils.platform.mysql.MySqlModelReader
Creates a new model reader for PostgreSql 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(PlatformInfo) - Constructor for class org.apache.ddlutils.platform.oracle.Oracle10Builder
Creates a new builder instance.
Oracle10ModelReader - class org.apache.ddlutils.platform.oracle.Oracle10ModelReader.
 
Oracle10ModelReader(PlatformInfo) - 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(PlatformInfo) - 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(PlatformInfo) - 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.dynabean - package org.apache.ddlutils.dynabean
Provides the special DdlUtils implementations of DynaBeanClass 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
 
org.apache.ddlutils.platform.cloudscape - package org.apache.ddlutils.platform.cloudscape
 
org.apache.ddlutils.platform.db2 - package org.apache.ddlutils.platform.db2
 
org.apache.ddlutils.platform.derby - package org.apache.ddlutils.platform.derby
 
org.apache.ddlutils.platform.firebird - package org.apache.ddlutils.platform.firebird
 
org.apache.ddlutils.platform.hsqldb - package org.apache.ddlutils.platform.hsqldb
 
org.apache.ddlutils.platform.interbase - package org.apache.ddlutils.platform.interbase
 
org.apache.ddlutils.platform.maxdb - package org.apache.ddlutils.platform.maxdb
 
org.apache.ddlutils.platform.mckoi - package org.apache.ddlutils.platform.mckoi
 
org.apache.ddlutils.platform.mssql - package org.apache.ddlutils.platform.mssql
 
org.apache.ddlutils.platform.mysql - package org.apache.ddlutils.platform.mysql
 
org.apache.ddlutils.platform.oracle - package org.apache.ddlutils.platform.oracle
 
org.apache.ddlutils.platform.postgresql - package org.apache.ddlutils.platform.postgresql
 
org.apache.ddlutils.platform.sapdb - package org.apache.ddlutils.platform.sapdb
 
org.apache.ddlutils.platform.sybase - package org.apache.ddlutils.platform.sybase
 
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.
A parameter which consists of a name-value pair and an optional list of platforms for which the parameter is applicable.
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(PlatformInfo) - 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(PlatformInfo) - 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.
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.
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.

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.

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.
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.
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.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.
readColumns(ResultSet, List) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Reads the indicated columns from the result set.
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.
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.firebird.FirebirdModelReader
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.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.
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.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.postgresql.PostgreSqlModelReader
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.
registerConverters(ConverterConfiguration) - Method in class org.apache.ddlutils.task.ConvertingDatabaseCommand
Registers the converters at the given configuration.
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.NonUniqueIndex
Removes the given index column from this index.
removeColumn(int) - Method in class org.apache.ddlutils.model.NonUniqueIndex
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(Table, ForeignKey) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Tries to remove the internal index for the given foreign key.
removeInternalPrimaryKeyIndex(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(Table) - Method in class org.apache.ddlutils.platform.JdbcModelReader
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.
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(PlatformInfo) - Constructor for class org.apache.ddlutils.platform.sapdb.SapDbBuilder
Creates a new builder instance.
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(PlatformInfo) - 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.
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.
SqlTypeConverter - interface org.apache.ddlutils.io.converters.SqlTypeConverter.
Interface for classes that convert between strings and sql data types.
SybaseBuilder - class org.apache.ddlutils.platform.sybase.SybaseBuilder.
The SQL Builder for Sybase.
SybaseBuilder(PlatformInfo) - Constructor for class org.apache.ddlutils.platform.sybase.SybaseBuilder
Creates a new builder instance.
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 to alter the database if it already exists, or re-set it.
setAlterDatabase(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
Specifies whether to alter the database if it already exists, or re-set it.
setAutoIncrement(boolean) - Method in class org.apache.ddlutils.model.Column
Specifies whether this column is an auto-increment column.
setBatchSize(int) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
Sets the (maximum) number of beans to insert in one batch.
setBatchSize(int) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
Sets the maximum number of objects to insert in one batch.
setCanReadAutoIncrementStatus(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.
setCaseSensitive(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the database has case sensitive identifiers.
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.
setCatalog(String) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Sets the database catalog to access.
setCatalogPattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
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.
setColumnPattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Sets the column pattern.
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.
setCommentsSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether comments are supported by the database.
setDataFile(File) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
Set the xml data file.
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
Sets 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.
setDefaultSchemaPattern(String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
Sets the schema(s) in the database to read per default.
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.
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.
setDoDrops(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Specifies whether to drop tables and the associated constraints if necessary.
setDoDrops(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
Specifies whether to drop tables and the associated constraints if necessary.
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
Sets the output encoding.
setEnsureFkOrder(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.
setFailOnError(boolean) - Method in class org.apache.ddlutils.task.DatabaseCommand
Specifies whether the command execution will be stopped upon an error.
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.
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.
setIdentityColumn(String, Object) - Method in class org.apache.ddlutils.io.Identity
Specifies the value for one of the identity columns.
setIdentitySpecUsesDefaultValue(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the auto-increment specification uses the DEFAULT value of the column definition.
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.
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.
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.
setMaxIdentifierLength(int) - Method in class org.apache.ddlutils.PlatformInfo
Sets the maximum length of identifiers 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.
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.NonUniqueIndex
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
Sets the name.
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.
setOutputFile(File) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Set the output file.
setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteDataToFileCommand
Sets the file to output the data to.
setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteDtdToFileCommand
Sets the file to output the DTD to.
setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
Sets the file to output the sql to.
setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteSchemaToFileCommand
Sets the file to output the schema 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
Sets the platforms - a comma-separated list of platform names - for which this parameter shall be used.
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
Sets the procedure pattern.
setRequired(boolean) - Method in class org.apache.ddlutils.model.Column
Specifies whether this column is a required column, ie.
setRequiringNullAsDefaultValue(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.
setReturningDefaultValueForRequired(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether the platform returns synthetic default values (e.g.
setReturningSystemIndices(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.
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.
setSchema(String) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
Sets the database schema to access.
setSchemaFile(File) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
Set the xml schema describing the application model.
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.DumpMetadataTask
Sets the schema pattern.
setSequenceValue(int) - Method in class org.apache.ddlutils.model.Reference
Sets the sequence value within the owning key.
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.
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.
setSupportingDefaultValuesForLongTypes(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether default values can be specified for LONGVARCHAR/LONGVARBINARY columns.
setSupportingDelimitedIdentifiers(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether delimited identifiers are supported.
setSupportingNonPKIdentityColumns(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether non-primary key columns can be auto-incrementing (IDENTITY columns).
setSupportingNonUniqueIndices(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether non-unique indices are supported.
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
Sets the single table.
setTablePattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Sets the table pattern.
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
Sets the table types ro recognize.
setTableTypes(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
Sets the table types as a comma-separated list.
setTables(String) - Method in class org.apache.ddlutils.task.TableSpecificParameter
Sets the tables as a comma-separated list.
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.
setUseAlterTableForDrop(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Specifies whether an ALTER TABLE statement shall be used for dropping indices or constraints.
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.task.WriteDataToDatabaseCommand
Specifies whether we shall be using batch mode.
setUseDelimitedIdentifiers(boolean) - Method in class org.apache.ddlutils.PlatformInfo
Determines whether delimited identifiers are used or normal SQL92 identifiers.
setUseDelimitedSqlIdentifiers(boolean) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
Specifies whether delimited SQL identifiers shall be used.
setUseDelimitedSqlIdentifiers(boolean) - Method in class org.apache.ddlutils.task.PlatformConfiguration
Specifies whether delimited SQL identifiers shall be used.
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 XML input files are validated against the internal or an external 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 are validated at all.
setValue(String) - Method in class org.apache.ddlutils.task.Parameter
Sets the value.
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).
setValueQuoteToken(String) - Method in class org.apache.ddlutils.PlatformInfo
Sets the text that is used for for quoting values (e.g.
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.
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.
startDocument() - Method in class org.apache.ddlutils.io.DataReader
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.
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

TERM_COMMAND - Static variable in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
Denotes the string used via SET TERM for delimiting commands that need to be executed in one go.
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
 
TableSpecificParameter - class org.apache.ddlutils.task.TableSpecificParameter.
A Parameter intended for specific 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
 
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.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
 
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) - Constructor for class org.apache.ddlutils.io.WaitingObject
Creates a new WaitingObject instance for the given object.
WriteDataToDatabaseCommand - class org.apache.ddlutils.task.WriteDataToDatabaseCommand.
Command for inserting data into a database.
WriteDataToDatabaseCommand() - Constructor for class org.apache.ddlutils.task.WriteDataToDatabaseCommand
 
WriteDataToFileCommand - class org.apache.ddlutils.task.WriteDataToFileCommand.
Command to dump data from the database into an XML file.
WriteDataToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteDataToFileCommand
 
WriteDtdToFileCommand - class org.apache.ddlutils.task.WriteDtdToFileCommand.
The command for creating a data DTD for a given database model.
WriteDtdToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteDtdToFileCommand
 
WriteSchemaSqlToFileCommand - class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand.
Creates the SQL for a schema and writes it to a file.
WriteSchemaSqlToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
 
WriteSchemaToDatabaseCommand - class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand.
Command for writing a database schema into the database.
WriteSchemaToDatabaseCommand() - Constructor for class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
 
WriteSchemaToFileCommand - class org.apache.ddlutils.task.WriteSchemaToFileCommand.
Command for writing the database schema 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.
writeColumn(Table, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Outputs the DDL for the specified column.
writeColumnAlterStmt(Table, Column, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the alter statement to add or modify a single column on a table.
writeColumnAlterStmt(Table, Column, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
Generates the alter statement to add or modify a single column on a table.
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.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.
writeColumnDefaultValue(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
Prints the default value of the column.
writeColumnDropStmt(Table, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
Generates the statement to drop an column from a table.
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.
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.
writeExternalForeignKeyCreateStmt(Database, Table, ForeignKey) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
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.interbase.InterbaseBuilder
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.mssql.MSSqlBuilder
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) - 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.
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.NonUniqueIndex
The columns making up the index.
_log - Variable in class org.apache.ddlutils.platform.SqlBuilder
The Log to which logging calls will be made.
_name - Variable in class org.apache.ddlutils.model.IndexColumn
The name of the column.
_name - Variable in class org.apache.ddlutils.model.NonUniqueIndex
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 Apache Software Foundation. All Rights Reserved.