- add(String, Rule) - Method in class org.apache.ddlutils.io.DigesterRules
- addBean(DynaBean) - Method in interface org.apache.ddlutils.io.DataSink
-
Adds a dyna bean.
- addBean(DynaBean) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
-
Adds a dyna bean.
- addColumn(IndexColumn) - Method in interface org.apache.ddlutils.model.Index
-
Adds a column that makes up this index.
- addColumn(IndexColumn) - Method in class org.apache.ddlutils.model.IndexImpBase
-
Adds a column that makes up this index.
- addColumn(Column) - Method in class org.apache.ddlutils.model.Table
-
Adds the given column.
- addColumn(int, Column) - Method in class org.apache.ddlutils.model.Table
-
Adds the given column at the specified position.
- addColumn(Column, Column) - Method in class org.apache.ddlutils.model.Table
-
Adds the column after the given previous column.
- AddColumnChange - Class in org.apache.ddlutils.alteration
-
Represents the addition of a column to a table.
- AddColumnChange(Table, Column, Column, Column) - Constructor for class org.apache.ddlutils.alteration.AddColumnChange
-
Creates a new change object.
- addColumns(Collection) - Method in class org.apache.ddlutils.model.Table
-
Adds the given columns.
- addCommand(Command) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Adds a command.
- addConfiguredConverter(DataConverterRegistration) - Method in class org.apache.ddlutils.task.ConvertingDatabaseCommand
-
Registers a converter.
- addConfiguredDatabase(BasicDataSource) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Adds the data source to use for accessing the database.
- addConfiguredDatabase(BasicDataSource) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Adds the data source to use for accessing the database.
- addConfiguredFileset(FileSet) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Adds a fileset.
- addConfiguredFileset(FileSet) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
-
Adds a fileset.
- addConfiguredParameter(Parameter) - Method in class org.apache.ddlutils.task.CreateDatabaseCommand
-
Adds a parameter which is a name-value pair.
- addConfiguredParameter(TableSpecificParameter) - Method in class org.apache.ddlutils.task.DatabaseCommandWithCreationParameters
-
Adds a parameter which is a name-value pair.
- addCreateDatabase(CreateDatabaseCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Adds the "create database"-command.
- addDropDatabase(DropDatabaseCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Adds the "drop database"-command.
- addEscapedCharSequence(String, String) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Adds a char sequence that needs escaping, and its escaped version.
- addForeignKey(ForeignKey) - Method in class org.apache.ddlutils.model.Table
-
Adds the given foreign key.
- addForeignKey(int, ForeignKey) - Method in class org.apache.ddlutils.model.Table
-
Adds the given foreign key at the specified position.
- AddForeignKeyChange - Class in org.apache.ddlutils.alteration
-
Represents the addition of a foreign key to a table.
- AddForeignKeyChange(Table, ForeignKey) - Constructor for class org.apache.ddlutils.alteration.AddForeignKeyChange
-
Creates a new change object.
- 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.
- AddIndexChange - Class in org.apache.ddlutils.alteration
-
Represents the addition of an index to a table.
- AddIndexChange(Table, Index) - Constructor for class org.apache.ddlutils.alteration.AddIndexChange
-
Creates a new change object.
- 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.
- AddPrimaryKeyChange - Class in org.apache.ddlutils.alteration
-
Represents the addition of a primary key to a table which does not have one.
- AddPrimaryKeyChange(Table, Column[]) - Constructor for class org.apache.ddlutils.alteration.AddPrimaryKeyChange
-
Creates a new change object.
- 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.
- AddTableChange - Class in org.apache.ddlutils.alteration
-
Represents the addition of a table to a model.
- AddTableChange(Table) - Constructor for class org.apache.ddlutils.alteration.AddTableChange
-
Creates a new change object.
- addTables(Collection) - Method in class org.apache.ddlutils.model.Database
-
Adds the given tables.
- addWriteDataToDatabase(WriteDataToDatabaseCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
-
Adds the "write data into database"-command.
- addWriteDataToDatabase(WriteDataToDatabaseCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Adds the "write data to database"-command.
- addWriteDataToFile(WriteDataToFileCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
-
Adds the "write data into file"-command.
- addWriteDataToFile(WriteDataToFileCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Adds the "write data to file"-command.
- addWriteDtdToFile(WriteDtdToFileCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
-
Adds the "create dtd"-command.
- addWriteDtdToFile(WriteDtdToFileCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Adds the "write dtd to file"-command.
- addWriteSchemaSqlToFile(WriteSchemaSqlToFileCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
-
Adds the "write schema sql to file"-command.
- addWriteSchemaSqlToFile(WriteSchemaSqlToFileCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Adds the "write schema sql to file"-command.
- addWriteSchemaToDatabase(WriteSchemaToDatabaseCommand) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Adds the "write schema to database"-command.
- addWriteSchemaToFile(WriteSchemaToFileCommand) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
-
Adds the "write schema to file"-command.
- adjustColumns(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Adjusts the columns in the table by fixing types and default values.
- advance() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator
-
Advances the iterator without materializing the object.
- afterInsert(Connection, Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
-
Allows platforms to issue statements directly after rows have been inserted into
the specified table.
- afterInsert(Connection, Table) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Allows platforms to issue statements directly after rows have been inserted into
the specified table.
- afterInsert(Connection, Table) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
-
Allows platforms to issue statements directly after rows have been inserted into
the specified table.
- afterUpdate(Connection, Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
-
Allows platforms to issue statements directly after rows have been updated in
the specified table.
- afterUpdate(Connection, Table) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Allows platforms to issue statements directly after rows have been updated in
the specified table.
- afterUpdate(Connection, Table) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
-
Allows platforms to issue statements directly after rows have been updated in
the specified table.
- alterDatabase(Database, Database, CreationParameters) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Generates the DDL to modify an existing database so the schema matches
the specified database schema by using drops, modifications and additions.
- alterTables(Database, boolean) - Method in interface org.apache.ddlutils.Platform
-
Alters the database schema so that it match the given model.
- alterTables(Database, CreationParameters, boolean) - Method in interface org.apache.ddlutils.Platform
-
Alters the database schema so that it match the given model.
- alterTables(String, String, String[], Database, boolean) - Method in interface org.apache.ddlutils.Platform
-
Alters the database schema so that it match the given model.
- alterTables(String, String, String[], Database, CreationParameters, boolean) - Method in interface org.apache.ddlutils.Platform
-
Alters the database schema so that it match the given model.
- alterTables(Connection, Database, boolean) - Method in interface org.apache.ddlutils.Platform
-
Alters the database schema so that it match the given model.
- alterTables(Connection, Database, CreationParameters, boolean) - Method in interface org.apache.ddlutils.Platform
-
Alters the database schema so that it match the given model.
- alterTables(Connection, String, String, String[], Database, boolean) - Method in interface org.apache.ddlutils.Platform
-
Alters the database schema so that it match the given model.
- alterTables(Connection, String, String, String[], Database, CreationParameters, boolean) - Method in interface org.apache.ddlutils.Platform
-
Alters the database schema so that it match the given model.
- alterTables(Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Alters the database schema so that it match the given model.
- alterTables(Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Alters the database schema so that it match the given model.
- alterTables(Connection, Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Alters the database schema so that it match the given model.
- alterTables(Connection, Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Alters the database schema so that it match the given model.
- alterTables(String, String, String[], Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Alters the database schema so that it match the given model.
- alterTables(String, String, String[], Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Alters the database schema so that it match the given model.
- alterTables(Connection, String, String, String[], Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Alters the database schema so that it match the given model.
- alterTables(Connection, String, String, String[], Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Alters the database schema so that it match the given model.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddColumnChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddForeignKeyChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddIndexChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddPrimaryKeyChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.AddTableChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnAutoIncrementChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnDataTypeChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnDefaultValueChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnOrderChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnRequiredChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.ColumnSizeChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in interface org.apache.ddlutils.alteration.ModelChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.PrimaryKeyChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemoveColumnChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemoveForeignKeyChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemoveIndexChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemovePrimaryKeyChange
-
Applies this change to the given database.
- apply(Database, boolean) - Method in class org.apache.ddlutils.alteration.RemoveTableChange
-
Applies this change to the given database.
- applyForSelectedChanges(Collection, Class[], Closure) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Calls the given closure for all changes that are of one of the given types, and
then removes them from the changes collection.
- areEqual(String, String, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Compares the two strings.
- ARRAY - Static variable in class org.apache.ddlutils.model.TypeMap
-
- 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.
- AxionBuilder - Class in org.apache.ddlutils.platform.axion
-
The SQL Builder for the Axion database.
- AxionBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.axion.AxionBuilder
-
Creates a new axion sql builder.
- AxionModelReader - Class in org.apache.ddlutils.platform.axion
-
Reads a database model from an Axion database.
- AxionModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.axion.AxionModelReader
-
Creates a new model reader for Axion databases.
- AxionPlatform - Class in org.apache.ddlutils.platform.axion
-
The platform for the Axion database.
- AxionPlatform() - Constructor for class org.apache.ddlutils.platform.axion.AxionPlatform
-
Creates a new axion platform instance.
- CallbackClosure - Class in org.apache.ddlutils.util
-
A closure that determines a callback for the type of the object and calls it.
- CallbackClosure(Object, String, Class[], Object[]) - Constructor for class org.apache.ddlutils.util.CallbackClosure
-
Creates a new closure object.
- CHAR - Static variable in class org.apache.ddlutils.model.TypeMap
-
The string representation of the
Types.CHAR constant.
- cleanUp() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator
-
Closes the resources (connection, statement, resultset).
- CLOB - Static variable in class org.apache.ddlutils.model.TypeMap
-
The string representation of the
Types.CLOB constant.
- clone() - Method in class org.apache.ddlutils.model.Column
- clone() - Method in class org.apache.ddlutils.model.Database
- clone() - Method in class org.apache.ddlutils.model.ForeignKey
- clone() - Method in interface org.apache.ddlutils.model.Index
-
Clones this index.
- clone() - Method in class org.apache.ddlutils.model.IndexColumn
- clone() - Method in class org.apache.ddlutils.model.IndexImpBase
-
Clones this index.
- clone() - Method in class org.apache.ddlutils.model.NonUniqueIndex
-
Clones this index.
- 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
-
Clones this index.
- 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.
- CloudscapeBuilder - Class in org.apache.ddlutils.platform.cloudscape
-
The SQL Builder for Cloudscape.
- CloudscapeBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.cloudscape.CloudscapeBuilder
-
Creates a new builder instance.
- CloudscapePlatform - Class in org.apache.ddlutils.platform.cloudscape
-
The Cloudscape platform implementation.
- CloudscapePlatform() - Constructor for class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform
-
Creates a new platform instance.
- Column - Class in org.apache.ddlutils.model
-
Represents a column in the database model.
- Column() - Constructor for class org.apache.ddlutils.model.Column
-
- ColumnAutoIncrementChange - Class in org.apache.ddlutils.alteration
-
Represents the change of the auto-increment constraint of a column.
- ColumnAutoIncrementChange(Table, Column) - Constructor for class org.apache.ddlutils.alteration.ColumnAutoIncrementChange
-
Creates a new change object.
- ColumnChange - Interface in org.apache.ddlutils.alteration
-
Represents a change to a column of a table.
- ColumnDataTypeChange - Class in org.apache.ddlutils.alteration
-
Represents the change of the data type of a column.
- ColumnDataTypeChange(Table, Column, int) - Constructor for class org.apache.ddlutils.alteration.ColumnDataTypeChange
-
Creates a new change object.
- ColumnDefaultValueChange - Class in org.apache.ddlutils.alteration
-
Represents the change of the default value of a column.
- ColumnDefaultValueChange(Table, Column, String) - Constructor for class org.apache.ddlutils.alteration.ColumnDefaultValueChange
-
Creates a new change object.
- ColumnOrderChange - Class in org.apache.ddlutils.alteration
-
Represents the change of the order of the columns of a table.
- ColumnOrderChange(Table, Map) - Constructor for class org.apache.ddlutils.alteration.ColumnOrderChange
-
Creates a new change object.
- ColumnRequiredChange - Class in org.apache.ddlutils.alteration
-
Represents the change of the required constraint of a column.
- ColumnRequiredChange(Table, Column) - Constructor for class org.apache.ddlutils.alteration.ColumnRequiredChange
-
Creates a new change object.
- columnsDiffer(Column, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Compares the current column in the database with the desired one.
- ColumnSizeChange - Class in org.apache.ddlutils.alteration
-
Represents the change of the size or scale of a column.
- ColumnSizeChange(Table, Column, int, int) - Constructor for class org.apache.ddlutils.alteration.ColumnSizeChange
-
Creates a new change object.
- Command - Class in org.apache.ddlutils.task
-
Base class for commands that work with a model.
- Command() - Constructor for class org.apache.ddlutils.task.Command
-
- compare(Database, Database) - Method in class org.apache.ddlutils.alteration.ModelComparator
-
Compares the two models and returns the changes necessary to create the second
model from the first one.
- compareColumns(Table, Column, Table, Column) - Method in class org.apache.ddlutils.alteration.ModelComparator
-
Compares the two columns and returns the changes necessary to create the second
column from the first one.
- compareTables(Database, Table, Database, Table) - Method in class org.apache.ddlutils.alteration.ModelComparator
-
Compares the two tables and returns the changes necessary to create the second
table from the first one.
- configure() - Method in class org.apache.ddlutils.io.DataReader
- ConversionException - Exception in org.apache.ddlutils.io.converters
-
- ConversionException() - Constructor for exception org.apache.ddlutils.io.converters.ConversionException
-
Creates a new exception object.
- ConversionException(String) - Constructor for exception org.apache.ddlutils.io.converters.ConversionException
-
Creates a new exception object.
- ConversionException(Throwable) - Constructor for exception org.apache.ddlutils.io.converters.ConversionException
-
Creates a new exception object.
- ConversionException(String, Throwable) - Constructor for exception org.apache.ddlutils.io.converters.ConversionException
-
Creates a new exception object.
- 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.
- ConverterConfiguration - Class in org.apache.ddlutils.io
-
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.
- 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.
- ConvertingDatabaseCommand - Class in org.apache.ddlutils.task
-
Base type for database commands that use converters.
- ConvertingDatabaseCommand() - Constructor for class org.apache.ddlutils.task.ConvertingDatabaseCommand
-
- convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.ByteArrayBase64Converter
-
Converts the given object to a string representation.
- convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.DateConverter
-
Converts the given object to a string representation.
- convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.NumberConverter
-
Converts the given object to a string representation.
- convertToString(Object, int) - Method in interface org.apache.ddlutils.io.converters.SqlTypeConverter
-
Converts the given object to a string representation.
- convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.TimeConverter
-
Converts the given object to a string representation.
- convertToString(Object, int) - Method in class org.apache.ddlutils.io.converters.TimestampConverter
-
Converts the given object to a string representation.
- copy(Table, Object) - Method in class org.apache.ddlutils.dynabean.DynaClassCache
-
Creates a new dyna bean instance for the given table and copies the values from the
given source object.
- createAutoIncrementSequence(Table, Column) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
-
Creates the sequence necessary for the auto-increment of the given column.
- createAutoIncrementSequence(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Creates the sequence necessary for the auto-increment of the given column.
- createAutoIncrementTrigger(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Creates the trigger necessary for the auto-increment of the given column.
- createDatabase(String, String, String, String, Map) - Method in class org.apache.ddlutils.platform.axion.AxionPlatform
-
Creates the database specified by the given parameters.
- 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.derby.DerbyPlatform
-
Creates the database specified by the given parameters.
- createDatabase(String, String, String, String, Map) - Method in class org.apache.ddlutils.platform.mckoi.MckoiPlatform
-
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.
- createDatabase(String, String, String, String, Map) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
-
Creates the database specified by the given parameters.
- CreateDatabaseCommand - Class in org.apache.ddlutils.task
-
The sub task for creating the target database.
- CreateDatabaseCommand() - Constructor for class org.apache.ddlutils.task.CreateDatabaseCommand
-
- 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
-
- createExternalForeignKeys(Database) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Creates the external foreignkey creation statements for all tables in the database.
- 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, Map) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Outputs the DDL to create the table along with any non-external constraints as well
as with external primary keys and indices (but not foreign keys).
- createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Outputs the DDL to create the table along with any non-external constraints as well
as with external primary keys and indices (but not foreign keys).
- createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
-
Outputs the DDL to create the table along with any non-external constraints as well
as with external primary keys and indices (but not foreign keys).
- createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Outputs the DDL to create the table along with any non-external constraints as well
as with external primary keys and indices (but not foreign keys).
- createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Outputs the DDL to create the table along with any non-external constraints as well
as with external primary keys and indices (but not foreign keys).
- createTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
-
Outputs the DDL to create the table along with any non-external constraints as well
as with external primary keys and indices (but not foreign keys).
- createTable(Database, Table) - 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.sybase.SybaseBuilder
-
Outputs the DDL to create the table along with any non-external constraints as well
as with external primary keys and indices (but not foreign keys).
- createTables(Database, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
-
Creates the tables defined in the database model.
- createTables(Connection, Database, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
-
Creates the tables defined in the database model.
- createTables(Database, CreationParameters, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
-
Creates the tables defined in the database model.
- createTables(Connection, Database, CreationParameters, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
-
Creates the tables defined in the database model.
- createTables(Database, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Creates the tables defined in the database model.
- createTables(Connection, Database, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Creates the tables defined in the database model.
- createTables(Database, CreationParameters, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Creates the tables defined in the database model.
- createTables(Connection, Database, CreationParameters, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Creates the tables defined in the database model.
- createTables(Database) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Outputs the DDL required to drop and (re)create all tables in the database model.
- createTables(Database, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Outputs the DDL required to drop (if requested) and (re)create all tables in the database model.
- createTables(Database, CreationParameters, boolean) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Outputs the DDL required to drop (if requested) and (re)create all tables in the database model.
- createTemporaryTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Outputs the DDL to create the given temporary table.
- createTemporaryTable(Database, Table, Map) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Outputs the DDL to create the given temporary table.
- createUniqueIdentifier() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Creates a reasonably unique identifier only consisting of hexadecimal characters and underscores.
- createUpdateSql(Database, SqlDynaClass, SqlDynaProperty[], SqlDynaProperty[], DynaBean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Creates the SQL for updating an object of the given type.
- CreationParameters - Class in org.apache.ddlutils.platform
-
Contains parameters used in the table creation.
- CreationParameters() - Constructor for class org.apache.ddlutils.platform.CreationParameters
-
- Database - Class in org.apache.ddlutils.model
-
Represents the database model, ie.
- Database() - Constructor for class org.apache.ddlutils.model.Database
-
- DatabaseCommand - Class in org.apache.ddlutils.task
-
Base type for commands that have the database info embedded.
- DatabaseCommand() - Constructor for class org.apache.ddlutils.task.DatabaseCommand
-
- DatabaseCommandWithCreationParameters - Class in org.apache.ddlutils.task
-
Base type for database commands that use creation parameters.
- DatabaseCommandWithCreationParameters() - Constructor for class org.apache.ddlutils.task.DatabaseCommandWithCreationParameters
-
- DatabaseDataIO - Class in org.apache.ddlutils.io
-
Provides basic live database data <-> XML functionality.
- DatabaseDataIO() - Constructor for class org.apache.ddlutils.io.DatabaseDataIO
-
- DatabaseIO - Class in org.apache.ddlutils.io
-
This class provides functions to read and write database models from/to XML.
- DatabaseIO() - Constructor for class org.apache.ddlutils.io.DatabaseIO
-
- DatabaseMetaDataWrapper - Class in org.apache.ddlutils.platform
-
Wrapper class for database meta data that stores additional info.
- DatabaseMetaDataWrapper() - Constructor for class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.axion.AxionPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.db2.Db2v8Platform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.derby.DerbyPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.firebird.FirebirdPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.interbase.InterbasePlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.maxdb.MaxDbPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.mckoi.MckoiPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.mysql.MySql50Platform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.mysql.MySqlPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.oracle.Oracle10Platform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.oracle.Oracle9Platform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.sapdb.SapDbPlatform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.sybase.SybaseASE15Platform
-
Database name of this platform.
- DATABASENAME - Static variable in class org.apache.ddlutils.platform.sybase.SybasePlatform
-
Database name of this platform.
- DatabaseOperationException - Exception in org.apache.ddlutils
-
This exception is thrown when a database operation failed.
- DatabaseOperationException() - Constructor for exception org.apache.ddlutils.DatabaseOperationException
-
Creates a new empty exception object.
- DatabaseOperationException(String) - Constructor for exception org.apache.ddlutils.DatabaseOperationException
-
Creates a new exception object.
- DatabaseOperationException(Throwable) - Constructor for exception org.apache.ddlutils.DatabaseOperationException
-
Creates a new exception object.
- DatabaseOperationException(String, Throwable) - Constructor for exception org.apache.ddlutils.DatabaseOperationException
-
Creates a new exception object.
- DatabaseTaskBase - Class in org.apache.ddlutils.task
-
Base class for DdlUtils Ant tasks that operate on a database.
- DatabaseTaskBase() - Constructor for class org.apache.ddlutils.task.DatabaseTaskBase
-
- DatabaseTestHelper - Class in org.apache.ddlutils.util
-
Class that provides utility stuff for cpmaring data in databases.
- DatabaseTestHelper() - Constructor for class org.apache.ddlutils.util.DatabaseTestHelper
-
- DatabaseToDdlTask - Class in org.apache.ddlutils.task
-
Task for getting structural info and data from a live database.
- DatabaseToDdlTask() - Constructor for class org.apache.ddlutils.task.DatabaseToDdlTask
-
- DataConverterRegistration - Class in org.apache.ddlutils.io
-
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 in org.apache.ddlutils.io
-
Generates the DTD for data xml files usable with a specified database model.
- DataDtdWriter() - Constructor for class org.apache.ddlutils.io.DataDtdWriter
-
- DATALINK - Static variable in class org.apache.ddlutils.model.TypeMap
-
- DataReader - Class in org.apache.ddlutils.io
-
Reads data XML into dyna beans matching a specified database model.
- DataReader() - Constructor for class org.apache.ddlutils.io.DataReader
-
- DataSink - Interface in org.apache.ddlutils.io
-
Marks classes that can receive dyna beans read by the
DataReader.
- DataSinkException - Exception in org.apache.ddlutils.io
-
Exception generated by
DataSink implementations.
- DataSinkException() - Constructor for exception org.apache.ddlutils.io.DataSinkException
-
Creates a new exception object.
- DataSinkException(String) - Constructor for exception org.apache.ddlutils.io.DataSinkException
-
Creates a new exception object.
- DataSinkException(Throwable) - Constructor for exception org.apache.ddlutils.io.DataSinkException
-
Creates a new exception object.
- DataSinkException(String, Throwable) - Constructor for exception org.apache.ddlutils.io.DataSinkException
-
Creates a new exception object.
- DataToDatabaseSink - Class in org.apache.ddlutils.io
-
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 in org.apache.ddlutils.io
-
Writes dyna beans matching a specified database model into an XML file.
- DataWriter(OutputStream) - Constructor for class org.apache.ddlutils.io.DataWriter
-
Creates a data writer instance using UTF-8 encoding.
- DataWriter(OutputStream, String) - Constructor for class org.apache.ddlutils.io.DataWriter
-
Creates a data writer instance.
- DataWriter(Writer, String) - Constructor for class org.apache.ddlutils.io.DataWriter
-
Creates a data writer instance using the specified writer.
- DataWriterException - Exception in org.apache.ddlutils.io
-
- DataWriterException() - Constructor for exception org.apache.ddlutils.io.DataWriterException
-
Creates a new exception object.
- DataWriterException(String) - Constructor for exception org.apache.ddlutils.io.DataWriterException
-
Creates a new exception object.
- DataWriterException(Throwable) - Constructor for exception org.apache.ddlutils.io.DataWriterException
-
Creates a new exception object.
- DataWriterException(String, Throwable) - Constructor for exception org.apache.ddlutils.io.DataWriterException
-
Creates a new exception object.
- DATE - Static variable in class org.apache.ddlutils.model.TypeMap
-
The string representation of the
Types.DATE constant.
- DateConverter - Class in org.apache.ddlutils.io.converters
-
Converts between
Date and
String using the standard
representation "yyyy", or "yyyy-mm", or "yyyy-mm-dd".
- DateConverter() - Constructor for class org.apache.ddlutils.io.converters.DateConverter
-
Creates a new date converter object.
- DATETIME - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
-
The enum value for date/time jdbc types.
- Db2Builder - Class in org.apache.ddlutils.platform.db2
-
The SQL Builder for DB2.
- Db2Builder(Platform) - Constructor for class org.apache.ddlutils.platform.db2.Db2Builder
-
Creates a new builder instance.
- Db2ModelReader - Class in org.apache.ddlutils.platform.db2
-
Reads a database model from a Db2 UDB database.
- Db2ModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.db2.Db2ModelReader
-
Creates a new model reader for Db2 databases.
- Db2Platform - Class in org.apache.ddlutils.platform.db2
-
The DB2 platform implementation.
- Db2Platform() - Constructor for class org.apache.ddlutils.platform.db2.Db2Platform
-
Creates a new platform instance.
- Db2v8Builder - Class in org.apache.ddlutils.platform.db2
-
The SQL Builder for DB2 v8 and above.
- Db2v8Builder(Platform) - Constructor for class org.apache.ddlutils.platform.db2.Db2v8Builder
-
Creates a new builder instance.
- Db2v8Platform - Class in org.apache.ddlutils.platform.db2
-
The DB2 platform implementation for DB2 v8 and above.
- Db2v8Platform() - Constructor for class org.apache.ddlutils.platform.db2.Db2v8Platform
-
Creates a new platform instance.
- DdlToDatabaseTask - Class in org.apache.ddlutils.task
-
Task for performing operations on a live database.
- DdlToDatabaseTask() - Constructor for class org.apache.ddlutils.task.DdlToDatabaseTask
-
- DdlUtilsException - Exception in org.apache.ddlutils
-
Base class for DdlUtils exceptions.
- DdlUtilsException() - Constructor for exception org.apache.ddlutils.DdlUtilsException
-
Creates a new empty exception object.
- DdlUtilsException(String) - Constructor for exception org.apache.ddlutils.DdlUtilsException
-
Creates a new exception object.
- DdlUtilsException(Throwable) - Constructor for exception org.apache.ddlutils.DdlUtilsException
-
Creates a new exception object.
- DdlUtilsException(String, Throwable) - Constructor for exception org.apache.ddlutils.DdlUtilsException
-
Creates a new exception object.
- DECIMAL - Static variable in class org.apache.ddlutils.model.TypeMap
-
- 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.
- DefaultValueHelper - Class in org.apache.ddlutils.platform
-
Helper class for dealing with default values, e.g.
- DefaultValueHelper() - Constructor for class org.apache.ddlutils.platform.DefaultValueHelper
-
- 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.
- DerbyBuilder - Class in org.apache.ddlutils.platform.derby
-
The SQL Builder for Derby.
- DerbyBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.derby.DerbyBuilder
-
Creates a new builder instance.
- DerbyModelReader - Class in org.apache.ddlutils.platform.derby
-
Reads a database model from a Derby database.
- DerbyModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.derby.DerbyModelReader
-
Creates a new model reader for Derby databases.
- DerbyPlatform - Class in org.apache.ddlutils.platform.derby
-
The platform implementation for Derby.
- DerbyPlatform() - Constructor for class org.apache.ddlutils.platform.derby.DerbyPlatform
-
Creates a new Derby platform instance.
- deserialize(byte[]) - Method in class org.apache.ddlutils.io.BinaryObjectsHelper
-
Deserializes the object from its byte array representation.
- determineAutoIncrementColumns(Table) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Helper method that determines the auto increment status using Firebird's system tables.
- determineAutoIncrementColumns(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Helper method that determines the auto increment status using Interbase's system tables.
- determineAutoIncrementColumns(Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
-
Helper method that determines the auto increment status using Firebird's system tables.
- determineAutoIncrementFromResultSetMetaData(Table, Column[]) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
- determineBooleanTypeCode() - Static method in class org.apache.ddlutils.util.Jdbc3Utils
-
Determines the type code for the BOOLEAN JDBC type.
- determineDatabaseType(DataSource) - Method in class org.apache.ddlutils.PlatformUtils
-
Tries to determine the database type for the given data source.
- determineDatabaseType(DataSource, String, String) - Method in class org.apache.ddlutils.PlatformUtils
-
Tries to determine the database type for the given data source.
- determineDatabaseType(String, String) - Method in class org.apache.ddlutils.PlatformUtils
-
Tries to determine the database type for the given jdbc driver and connection url.
- determineDatalinkTypeCode() - Static method in class org.apache.ddlutils.util.Jdbc3Utils
-
Determines the type code for the DATALINK JDBC type.
- determineExtraColumnInfo(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Helper method that determines extra column info from the system tables: default value, precision, scale.
- determineSchemaOf(Connection, String, Table) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Tries to find the schema to which the given table belongs.
- determineSchemaOf(Connection, String, Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Tries to find the schema to which the given table belongs.
- determineSchemaOf(Connection, String, Table) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Deprecated.
Will be removed once full schema support is in place
- DigesterRules - Class in org.apache.ddlutils.io
-
An extended rules implementation that is able to match case-insensitively.
- DigesterRules() - Constructor for class org.apache.ddlutils.io.DigesterRules
-
- DISTINCT - Static variable in class org.apache.ddlutils.model.TypeMap
-
- DOUBLE - Static variable in class org.apache.ddlutils.model.TypeMap
-
- dropAutoIncrementSequence(Table, Column) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
-
Drops the sequence used for the auto-increment of the given column.
- dropAutoIncrementSequence(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Drops the sequence used for the auto-increment of the given column.
- dropAutoIncrementTrigger(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Drops the trigger used for the auto-increment of the given column.
- dropDatabase(String, String, String, String) - Method in interface org.apache.ddlutils.Platform
-
Drops the database specified by the given parameters.
- dropDatabase(String, String, String, String) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Drops the database specified by the given parameters.
- dropDatabase(String, String, String, String) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
-
Drops the database specified by the given parameters.
- DropDatabaseCommand - Class in org.apache.ddlutils.task
-
Sub task for dropping the target database.
- DropDatabaseCommand() - Constructor for class org.apache.ddlutils.task.DropDatabaseCommand
-
- 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.SqlBuilder
-
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.axion.AxionBuilder
-
Outputs the DDL to drop the table.
- dropTable(Database, Table, boolean) - Method in interface org.apache.ddlutils.Platform
-
Drops the specified table and all foreign keys pointing to it.
- dropTable(Connection, Database, Table, boolean) - Method in interface org.apache.ddlutils.Platform
-
Drops the specified table and all foreign keys pointing to it.
- dropTable(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(Connection, Database, Table, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Drops the specified table and all foreign keys pointing to it.
- dropTable(Database, Table, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Drops the specified table and all foreign keys pointing to it.
- dropTable(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(Database, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Outputs the DDL required to drop the given table.
- dropTable(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Outputs the DDL to drop the table.
- dropTable(Table) - Method in class org.apache.ddlutils.platform.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.
- dropTemporaryTable(Database, Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Outputs the DDL to drop the given temporary table.
- dropTemporaryTable(Database, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Outputs the DDL to drop the given temporary table.
- DTD_PREFIX - Static variable in class org.apache.ddlutils.io.LocalEntityResolver
-
The default DTD.
- DumpMetadataTask - Class in org.apache.ddlutils.task
-
A simple helper task that dumps information about a database using JDBC.
- DumpMetadataTask() - Constructor for class org.apache.ddlutils.task.DumpMetadataTask
-
- DynaClassCache - Class in org.apache.ddlutils.dynabean
-
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 in org.apache.ddlutils.io
-
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.
- getAlterTablesSql(Database) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Database, CreationParameters) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(String, String, String[], Database) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(String, String, String[], Database, CreationParameters) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Connection, Database) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Connection, Database, CreationParameters) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Connection, String, String, String[], Database) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Connection, String, String, String[], Database, CreationParameters) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Database) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Database, CreationParameters) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Connection, Database) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Connection, Database, CreationParameters) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(String, String, String[], Database) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(String, String, String[], Database, CreationParameters) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Connection, String, String, String[], Database) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for altering the database schema so that it match the given model.
- getAlterTablesSql(Connection, String, String, String[], Database, CreationParameters) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for altering the database schema so that it match the given model.
- getAutoIncrementColumns() - Method in class org.apache.ddlutils.model.Table
-
Returns the auto increment columns in this table.
- getBareNativeType(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the bare database-native type for the given column without any size specifies.
- getBatchResultMessage(String, int, int) - Static method in class org.apache.ddlutils.util.Jdbc3Utils
-
Returns the logging message corresponding to the given result code of a batch message.
- getBatchSize() - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Returns the batch size override.
- getBatchSize() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
-
Returns the (maximum) number of beans to insert in one batch.
- getBetwixtMapping() - Method in class org.apache.ddlutils.io.DatabaseIO
-
Returns the commons-betwixt mapping file as an
InputSource object.
- getCatalog() - Method in class org.apache.ddlutils.model.Table
-
Returns the catalog of this table as read from the database.
- getCatalog() - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Returns the catalog in the database to read.
- getCatalogPattern() - Method in class org.apache.ddlutils.task.DatabaseCommand
-
Returns the catalog pattern if any.
- getCatalogPattern() - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Returns the catalog pattern if any.
- getChangedColumn() - Method in interface org.apache.ddlutils.alteration.ColumnChange
-
Returns the affected column from the original model.
- getChangedColumn() - Method in class org.apache.ddlutils.alteration.ColumnDataTypeChange
-
Returns the column.
- getChangedColumn() - Method in class org.apache.ddlutils.alteration.ColumnDefaultValueChange
-
Returns the column.
- getChangedColumn() - Method in class org.apache.ddlutils.alteration.ColumnRequiredChange
-
Returns the column.
- getChangedColumn() - Method in class org.apache.ddlutils.alteration.ColumnSizeChange
-
Returns the column.
- getChangedTable() - Method in interface org.apache.ddlutils.alteration.TableChange
-
Returns the affected table from the original model.
- getChangedTable() - Method in class org.apache.ddlutils.alteration.TableChangeImplBase
-
Returns the affected table.
- getColumn() - Method in class org.apache.ddlutils.alteration.ColumnAutoIncrementChange
-
Returns the column.
- getColumn() - Method in class org.apache.ddlutils.alteration.RemoveColumnChange
-
Returns the column.
- getColumn() - Method in class org.apache.ddlutils.dynabean.SqlDynaProperty
-
Returns the column for which this property is defined.
- getColumn() - Method in class org.apache.ddlutils.io.DataConverterRegistration
-
Returns the column for which this converter is defined.
- getColumn(int) - Method in interface org.apache.ddlutils.model.Index
-
Returns the indicated column making up this index.
- getColumn() - Method in class org.apache.ddlutils.model.IndexColumn
-
Returns the indexed column.
- getColumn(int) - Method in class org.apache.ddlutils.model.IndexImpBase
-
Returns the indicated column making up this index.
- getColumn(int) - Method in class org.apache.ddlutils.model.Table
-
Returns the column at the specified position.
- getColumnCount() - Method in interface org.apache.ddlutils.model.Index
-
Returns the number of columns that make up this index.
- getColumnCount() - Method in class org.apache.ddlutils.model.IndexImpBase
-
Returns the number of columns that make up this index.
- getColumnCount() - Method in class org.apache.ddlutils.model.Table
-
Returns the number of columns in this table.
- getColumnIndex(Column) - Method in class org.apache.ddlutils.model.Table
-
Determines the index of the given column.
- getColumnName(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the column name.
- getColumns() - Method in interface org.apache.ddlutils.model.Index
-
Returns the columns that make up this index.
- getColumns() - Method in class org.apache.ddlutils.model.IndexImpBase
-
Returns the columns that make up this index.
- getColumns() - Method in class org.apache.ddlutils.model.Table
-
Returns the columns in this table.
- getColumns(String, String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Convenience method to return the column meta data using the configured catalog and
schema pattern.
- getColumnsForColumn() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the descriptors for the columns to be read from the column meta data result set.
- getColumnsForFK() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the descriptors for the columns to be read from the foreign key meta data result set.
- getColumnsForIndex() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the descriptors for the columns to be read from the index meta data result set.
- getColumnsForPK() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the descriptors for the columns to be read from the primary key meta data result set.
- getColumnsForTable() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the descriptors for the columns to be read from the table meta data result set.
- getColumnValue(String) - Method in class org.apache.ddlutils.io.Identity
-
Returns the value of the indicated identity columns.
- getCommands() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Returns the commands.
- getCommentPrefix() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the string that denotes the beginning of a comment.
- getCommentSuffix() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the string that denotes the end of a comment.
- getConfiguredDataReader(Platform, Database) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Returns a data reader instance configured for the given platform (which needs to
be connected to a live database) and model.
- getConfiguredDataWriter(String, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Returns a data writer instance configured to write to the indicated file
in the specified encoding.
- getConfiguredDataWriter(OutputStream, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Returns a data writer instance configured to write to the given output stream
in the specified encoding.
- getConfiguredDataWriter(Writer, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Returns a data writer instance configured to write to the given output writer
in the specified encoding.
- getConnection() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the active connection.
- getConstraintName(String, Table, String, String) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the constraint name.
- getConverter() - Method in class org.apache.ddlutils.io.DataConverterRegistration
-
Returns the converter.
- getConverterConfiguration() - Method in class org.apache.ddlutils.io.DataReader
-
Returns the converter configuration of this data reader.
- getConverterConfiguration() - Method in class org.apache.ddlutils.io.DataWriter
-
Returns the converter configuration of this data reader.
- getCreateTablesSql(Database, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for creating the tables defined in the database model.
- getCreateTablesSql(Database, CreationParameters, boolean, boolean) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for creating the tables defined in the database model.
- getCreateTablesSql(Database, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for creating the tables defined in the database model.
- getCreateTablesSql(Database, CreationParameters, boolean, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for creating the tables defined in the database model.
- 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.
- getDataIO() - Method in class org.apache.ddlutils.task.ConvertingDatabaseCommand
-
Returns the database data io object.
- getDataSource() - Method in interface org.apache.ddlutils.Platform
-
Returns the data source that this platform uses to access the database.
- getDataSource() - Method in class org.apache.ddlutils.task.DatabaseCommand
-
Returns the data source to use for accessing the database.
- getDataSource() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Returns the data source.
- getDataSource() - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Returns the data source to use for accessing the database.
- getDataSource() - Method in class org.apache.ddlutils.util.JdbcSupport
-
Returns the data source used for communicating with the database.
- getDefaultCatalogPattern() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the catalog(s) in the database to read per default.
- getDefaultColumnPattern() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the default pattern to read the relevant columns from the database.
- getDefaultSchemaPattern() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the schema(s) in the database to read per default.
- getDefaultSize(int) - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the default size value for the given type, if any.
- getDefaultTablePattern() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the default pattern to read the relevant tables from the database.
- getDefaultTableTypes() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the table types to recognize per default.
- getDefaultValue() - Method in class org.apache.ddlutils.model.Column
-
Returns the default value of the column.
- getDefaultValue() - Method in class org.apache.ddlutils.platform.MetaDataColumnDescriptor
-
Returns the default value.
- getDefaultValueHelper() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the default value helper.
- getDeleteSql(Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
-
Returns the sql for deleting the given bean from the database.
- getDeleteSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Creates the SQL for deleting an object from the specified table.
- 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.
- getDelimitedIdentifier(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the delimited version of the identifier (if configured).
- getDelimiterToken() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the text that is used to delimit identifiers (eg.
- getDescription() - Method in class org.apache.ddlutils.model.Column
-
Returns the description of the column.
- getDescription() - Method in class org.apache.ddlutils.model.Table
-
Returns the description of the table.
- getDisableIdentityOverrideSql(Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Returns the SQL to disable identity override mode.
- getDisableIdentityOverrideSql(Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Returns the SQL to disable identity override mode.
- getDropTableSql(Database, Table, boolean) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for dropping the given table and all foreign keys pointing to it.
- getDropTableSql(Database, Table, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for dropping the given table and all foreign keys pointing to it.
- getDropTablesSql(Database, boolean) - Method in interface org.apache.ddlutils.Platform
-
Returns the SQL for dropping the tables defined in the given database.
- getDropTablesSql(Database, boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the SQL for dropping the tables defined in the given database.
- getDynaClass(Table) - Method in class org.apache.ddlutils.dynabean.DynaClassCache
-
- getDynaClass(DynaBean) - Method in class org.apache.ddlutils.dynabean.DynaClassCache
-
- getDynaClassFor(String) - Method in class org.apache.ddlutils.model.Database
-
- getDynaClassFor(DynaBean) - Method in class org.apache.ddlutils.model.Database
-
- getEnableIdentityOverrideSql(Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Returns the SQL to enable identity override mode.
- getEnableIdentityOverrideSql(Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Returns the SQL to enable identity override mode.
- getEnum(String) - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
-
Returns the enum value that corresponds to the given textual
representation.
- getEnum(int) - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
-
Returns the enum value that corresponds to the given integer
representation.
- getEnumList() - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
-
Returns a list of all enum values.
- getEnumMap() - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
-
Returns the map of enum values.
- getFilteredParameters(Database, String, boolean) - Method in class org.apache.ddlutils.task.DatabaseCommandWithCreationParameters
-
Filters the parameters for the given model and platform.
- getFirstReference() - Method in class org.apache.ddlutils.model.ForeignKey
-
Returns the first reference if it exists.
- getForeignColumn() - Method in class org.apache.ddlutils.model.Reference
-
Returns the foreign column.
- getForeignColumnName() - Method in class org.apache.ddlutils.model.Reference
-
Returns the name of the foreign column.
- getForeignKey() - Method in class org.apache.ddlutils.alteration.RemoveForeignKeyChange
-
Returns the foreign key to be removed.
- getForeignKey(int) - Method in class org.apache.ddlutils.model.Table
-
Returns the foreign key at the given position.
- getForeignKeyCount() - Method in class org.apache.ddlutils.model.Table
-
Returns the number of foreign keys.
- getForeignKeyName() - Method in class org.apache.ddlutils.io.Identity
-
Returns the name of the foreign key whose referenced object this identity represents.
- getForeignKeyName(Table, ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the name to be used for the given foreign key.
- getForeignKeys() - Method in class org.apache.ddlutils.model.Table
-
Returns the foreign keys of this table.
- getForeignKeys(String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Convenience method to return the foreign key meta data using the configured catalog and
schema pattern.
- getForeignTable() - Method in class org.apache.ddlutils.model.ForeignKey
-
Returns the foreign table.
- getForeignTableName() - Method in class org.apache.ddlutils.model.ForeignKey
-
Returns the name of the foreign table.
- getGeneratorName(Table, Column) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Determines the name of the generator for an auto-increment column.
- getGeneratorName(Table, Column) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Determines the name of the generator for an auto-increment column.
- getIdentityStatusReadingSupported() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether the platform is able to read the auto-increment status for columns
from an existing database.
- 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() - Method in class org.apache.ddlutils.alteration.RemoveIndexChange
-
Returns the index.
- getIndex(int) - Method in class org.apache.ddlutils.model.Table
-
Returns the index at the specified position.
- getIndexCount() - Method in class org.apache.ddlutils.model.Table
-
Returns the number of indices.
- getIndexName(Index) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the index name.
- getIndices() - Method in class org.apache.ddlutils.model.Table
-
Returns the indices of this table.
- getIndices(String, boolean, boolean) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Convenience method to return the index meta data using the configured catalog and
schema pattern.
- getInsertSql(Database, DynaBean) - Method in interface org.apache.ddlutils.Platform
-
Returns the sql for inserting the given bean.
- getInsertSql(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Creates the SQL for inserting an object into the specified table.
- 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.
- getJavaName() - Method in class org.apache.ddlutils.model.Column
-
Returns the java name of the column.
- getJdbcType() - Method in class org.apache.ddlutils.platform.MetaDataColumnDescriptor
-
Returns the jdbc type to read from the result set.
- getJdbcTypeCode(String) - Static method in class org.apache.ddlutils.model.TypeMap
-
Returns the JDBC type code (one of the
Types constants) that
corresponds to the given JDBC type name.
- getJdbcTypeName(int) - Static method in class org.apache.ddlutils.model.TypeMap
-
Returns the JDBC type name that corresponds to the given type code
(one of the
Types constants).
- getLocalColumn() - Method in class org.apache.ddlutils.model.Reference
-
Returns the local column.
- getLocalColumnName() - Method in class org.apache.ddlutils.model.Reference
-
Returns the name of the local column.
- getLog() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the log for this platform.
- getMaxColumnNameLength() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the maximum number of characters that a column name can have.
- getMaxColumnNameLength() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the maximum number of characters that a column name can have.
- getMaxConstraintNameLength() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the maximum number of characters that a constraint name can have.
- getMaxConstraintNameLength() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the maximum number of characters that a constraint name can have.
- getMaxForeignKeyNameLength() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the maximum number of characters that a foreign key name can have.
- getMaxForeignKeyNameLength() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the maximum number of characters that a foreign key name can have.
- getMaxTableNameLength() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the maximum number of characters that a table name can have.
- getMaxTableNameLength() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the maximum number of characters that a table name can have.
- getMetaData() - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Returns the database meta data.
- getModel() - Method in class org.apache.ddlutils.io.DataReader
-
Returns the database model.
- getModelReader() - Method in interface org.apache.ddlutils.Platform
-
Returns the model reader (which reads a database model from a live database) for this platform.
- getModelReader() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the model reader (which reads a database model from a live database) for this platform.
- getName() - Method in class org.apache.ddlutils.model.Column
-
Returns the name of the column.
- getName() - Method in class org.apache.ddlutils.model.Database
-
Returns the name of this database model.
- getName() - Method in class org.apache.ddlutils.model.ForeignKey
-
Returns the name of this foreign key.
- getName() - Method in interface org.apache.ddlutils.model.Index
-
Returns the name of the index.
- getName() - Method in class org.apache.ddlutils.model.IndexColumn
-
Returns the name of the column.
- getName() - Method in class org.apache.ddlutils.model.IndexImpBase
-
Returns the name of the index.
- getName() - Method in class org.apache.ddlutils.model.Table
-
Returns the name of the table.
- getName() - Method in class org.apache.ddlutils.platform.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 interface org.apache.ddlutils.Platform
-
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.MetaDataColumnDescriptor
-
Returns the name.
- getName() - Method in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.platform.mysql.MySql50Platform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.platform.mysql.MySqlPlatform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.platform.oracle.Oracle10Platform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.platform.oracle.Oracle8Platform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.platform.oracle.Oracle9Platform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.platform.sapdb.SapDbPlatform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.platform.sybase.SybaseASE15Platform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
-
Returns the name of the database that this platform is for.
- getName() - Method in class org.apache.ddlutils.task.Parameter
-
Returns the name.
- getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Returns the native default value for the column.
- getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
-
Returns the native default value for the column.
- getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Returns the native default value for the column.
- getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Returns the native default value for the column.
- getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Returns the native default value for the column.
- getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Returns the native default value for the column.
- getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the native default value for the column.
- getNativeDefaultValue(Column) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Returns the native default value for the column.
- getNativeType(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the database-native type for the given column.
- getNativeType(int) - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the database-native type for the given type code.
- getNewColumn() - Method in class org.apache.ddlutils.alteration.AddColumnChange
-
Returns the new column.
- getNewDefaultValue() - Method in class org.apache.ddlutils.alteration.ColumnDefaultValueChange
-
Returns the new default value.
- getNewForeignKey() - Method in class org.apache.ddlutils.alteration.AddForeignKeyChange
-
Returns the new foreign key.
- getNewIndex() - Method in class org.apache.ddlutils.alteration.AddIndexChange
-
Returns the new index.
- getNewPosition(Column) - Method in class org.apache.ddlutils.alteration.ColumnOrderChange
-
Returns the new position of the given source column.
- getNewPrimaryKeyColumns() - Method in class org.apache.ddlutils.alteration.PrimaryKeyChange
-
Returns the columns making up the new primary key.
- getNewScale() - Method in class org.apache.ddlutils.alteration.ColumnSizeChange
-
Returns the new scale of the column.
- getNewSize() - Method in class org.apache.ddlutils.alteration.ColumnSizeChange
-
Returns the new size of the column.
- getNewTable() - Method in class org.apache.ddlutils.alteration.AddTableChange
-
Returns the new table.
- getNewTypeCode() - Method in class org.apache.ddlutils.alteration.ColumnDataTypeChange
-
Returns the JDBC type code of the new type.
- getNextColumn() - Method in class org.apache.ddlutils.alteration.AddColumnChange
-
Returns the column before which the new column should be added.
- getNextStatement() - Method in class org.apache.ddlutils.util.SqlTokenizer
-
Returns the next statement.
- getNonPrimaryKeyProperties() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
-
Returns the properties for the non-primary keys of the corresponding table.
- getNonUniqueIndices() - Method in class org.apache.ddlutils.model.Table
-
Gets a list of non-unique indices on this table.
- getObject() - Method in class org.apache.ddlutils.io.WaitingObject
-
Returns the waiting object.
- getObjectFromResultSet(ResultSet, String, Table) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Helper method esp.
- getObjectFromResultSet(ResultSet, Column, int) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Helper method for retrieving the value for a column from the given result set
using the type code of the column.
- getOldPrimaryKeyColumns() - Method in class org.apache.ddlutils.alteration.PrimaryKeyChange
-
Returns the columns making up the original primary key.
- getOrdinalPosition() - Method in class org.apache.ddlutils.model.IndexColumn
-
Returns the position within the owning index.
- getParametersFor(Table) - Method in class org.apache.ddlutils.platform.CreationParameters
-
Returns the parameters for the given table.
- getParsedDefaultValue() - Method in class org.apache.ddlutils.model.Column
-
Tries to parse the default value of the column and returns it as an object of the
corresponding java type.
- getPassword() - Method in interface org.apache.ddlutils.Platform
-
Returns the password that this platform shall use to access the database.
- getPassword() - Method in class org.apache.ddlutils.util.JdbcSupport
-
Returns the password used to access the database.
- getPendingFKs() - Method in class org.apache.ddlutils.io.WaitingObject
-
Returns the identities of the object that this object is waiting for.
- getPlatform() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the platform that this model reader belongs to.
- getPlatform() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the platform object.
- getPlatform() - Method in class org.apache.ddlutils.task.DatabaseCommand
-
Creates the platform for the configured database.
- getPlatform() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Creates the platform for the configured database.
- getPlatform() - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Creates the platform for the configured database.
- getPlatformConfiguration() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Creates the platform configuration.
- getPlatformInfo() - Method in interface org.apache.ddlutils.Platform
-
Returns the info object for this platform.
- getPlatformInfo() - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Returns the platform specific settings.
- getPlatformInfo() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the info object for this platform.
- getPlatformInfo() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the platform info object.
- getPrecisionRadix() - Method in class org.apache.ddlutils.model.Column
-
Returns the precision radix of the column.
- getPreviousColumn() - Method in class org.apache.ddlutils.alteration.AddColumnChange
-
Returns the column after which the new column should be added.
- getPrimaryKeyColumns() - Method in class org.apache.ddlutils.alteration.AddPrimaryKeyChange
-
Returns the primary key columns making up the new primary key.
- getPrimaryKeyColumns() - Method in class org.apache.ddlutils.alteration.RemovePrimaryKeyChange
-
Returns the primary key columns making up the primary key.
- getPrimaryKeyColumns() - Method in class org.apache.ddlutils.model.Table
-
Returns the primary key columns of this table.
- getPrimaryKeyProperties() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
-
Returns the properties for the primary keys of the corresponding table.
- getPrimaryKeys(String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Convenience method to return the primary key meta data using the configured catalog and
schema pattern.
- getQuotationOnStatement() - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Returns the statement that turns on the ability to write delimited identifiers.
- getReader() - Method in class org.apache.ddlutils.io.DatabaseIO
-
Returns a new bean reader configured to read database models.
- getRealTargetTableFor(Database, Table, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Creates the target table object that differs from the given target table only in the
indices.
- getReference(int) - Method in class org.apache.ddlutils.model.ForeignKey
-
Returns the indicated reference.
- getReferenceCount() - Method in class org.apache.ddlutils.model.ForeignKey
-
Returns the number of references.
- getReferences() - Method in class org.apache.ddlutils.model.ForeignKey
-
Returns the references.
- getRegisteredConverter(Table, Column) - Method in class org.apache.ddlutils.io.ConverterConfiguration
-
Returns the converter registered for the specified column.
- getScale() - Method in class org.apache.ddlutils.model.Column
-
Returns the scale of the column.
- getSchema() - Method in class org.apache.ddlutils.model.Table
-
Returns the schema of this table as read from the database.
- getSchemaPattern() - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Returns the schema in the database to read.
- getSchemaPattern() - Method in class org.apache.ddlutils.task.DatabaseCommand
-
Returns the schema pattern if any.
- getSchemaPattern() - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Returns the schema pattern if any.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.cloudscape.CloudscapeBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelectLastIdentityValues(Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Generates the SQL for querying the id that was created in the last insertion
operation.
- getSelfReferencingForeignKey() - Method in class org.apache.ddlutils.model.Table
-
Returns the foreign key referencing this table if it exists.
- getSequenceValue() - Method in class org.apache.ddlutils.model.Reference
-
Returns the sequence value within the owning key.
- getSink() - Method in class org.apache.ddlutils.io.DataReader
-
Returns the data sink.
- getSize() - Method in class org.apache.ddlutils.model.Column
-
Returns the size of the column.
- getSize() - Method in class org.apache.ddlutils.model.IndexColumn
-
Returns the size of the column in the index.
- getSizeAsInt() - Method in class org.apache.ddlutils.model.Column
-
Returns the size of the column as an integer.
- getSqlBuilder() - Method in interface org.apache.ddlutils.Platform
-
Returns the sql builder for the this platform.
- getSqlBuilder() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Returns the sql builder for the this platform.
- getSqlCommandDelimiter() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the text separating individual sql commands.
- getSqlDynaProperties() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
-
Returns the properties of this dyna class.
- getSqlType(Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the full SQL type specification (including size and precision/scale) for the
given column.
- getSupportedPlatforms() - Static method in class org.apache.ddlutils.PlatformFactory
-
Returns a list of all supported platforms.
- getTable() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
-
Returns the table for which this dyna class is defined.
- getTable() - Method in class org.apache.ddlutils.io.DataConverterRegistration
-
Returns the table for whose column this converter is defined.
- getTable() - Method in class org.apache.ddlutils.io.Identity
-
Returns the table that this identity is for.
- getTable(int) - Method in class org.apache.ddlutils.model.Database
-
Returns the table at the specified position.
- getTableCount() - Method in class org.apache.ddlutils.model.Database
-
Returns the number of tables in this model.
- getTableName() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
-
Returns the table name for which this dyna class is defined.
- getTableName(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the table name.
- 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.
- getTableTypes() - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Returns the table types to recognize.
- getTargetJdbcType(int) - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the jdbc type corresponding to the native type that is used for the given
jdbc type.
- getTemporaryTableFor(Database, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Creates a temporary table object that corresponds to the given table.
- getTriggerName(Table, Column) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Determines the name of the trigger for an auto-increment column.
- 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(Table, Map, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Creates the SQL for updating an object in the specified table.
- 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.
- getUseBatchMode() - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Determines whether batch mode is used for inserting data into the database.
- getUsername() - Method in interface org.apache.ddlutils.Platform
-
Returns the username that this platform shall use to access the database.
- getUsername() - Method in class org.apache.ddlutils.util.JdbcSupport
-
Returns the username used to access the database.
- getValue() - Method in class org.apache.ddlutils.task.Parameter
-
Returns the value.
- getValueAsString(Column, Object) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Generates the string representation of the given value.
- getValueAsString(Column, Object) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Generates the string representation of the given value.
- getValueDateFormat() - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Returns the format object for formatting dates in the specified locale.
- getValueDateFormat() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the format object for formatting dates in the specified locale.
- getValueLocale() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the locale that is used for number and date formatting
(when printing default values and in generates insert/update/delete
statements).
- getValueNumberFormat() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the format object for formatting numbers in the specified locale.
- getValueQuoteToken() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns the text that is used for for quoting values (e.g.
- getValues() - Method in class org.apache.ddlutils.task.VerbosityLevel
- getValueTimeFormat() - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Returns the format object for formatting times in the specified locale.
- getValueTimeFormat() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns the format object for formatting times in the specified locale.
- 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.
- Identity - Class in org.apache.ddlutils.io
-
Stores the identity of an database object as defined by its primary keys.
- Identity(Table) - Constructor for class org.apache.ddlutils.io.Identity
-
Creates a new identity object for the given table.
- Identity(Table, String) - Constructor for class org.apache.ddlutils.io.Identity
-
Creates a new identity object for the given table.
- Index - Interface in org.apache.ddlutils.model
-
Represents an index definition for a table which may be either unique or non-unique.
- IndexColumn - Class in org.apache.ddlutils.model
-
Represents a column of an index in the database model.
- IndexColumn() - Constructor for class org.apache.ddlutils.model.IndexColumn
-
Creates a new index column object.
- IndexColumn(Column) - Constructor for class org.apache.ddlutils.model.IndexColumn
-
Creates a new index column object.
- IndexColumn(String) - Constructor for class org.apache.ddlutils.model.IndexColumn
-
Creates a new index column object.
- IndexImpBase - Class in org.apache.ddlutils.model
-
Base class for indices.
- IndexImpBase() - Constructor for class org.apache.ddlutils.model.IndexImpBase
-
- 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.
- initialize() - Method in class org.apache.ddlutils.model.Database
-
Initializes the model by establishing the relationships between elements in this model encoded
eg.
- initPrimaryKeys() - Method in class org.apache.ddlutils.dynabean.SqlDynaClass
-
Initializes the primary key and non primary key property arrays.
- 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.
- 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.
- 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.
- INTEGER - Static variable in class org.apache.ddlutils.model.TypeMap
-
- InterbaseBuilder - Class in org.apache.ddlutils.platform.interbase
-
The SQL Builder for the Interbase database.
- InterbaseBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Creates a new builder instance.
- InterbaseModelReader - Class in org.apache.ddlutils.platform.interbase
-
The Jdbc Model Reader for Interbase.
- InterbaseModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Creates a new model reader for Interbase databases.
- InterbasePlatform - Class in org.apache.ddlutils.platform.interbase
-
The platform implementation for the Interbase database.
- InterbasePlatform() - Constructor for class org.apache.ddlutils.platform.interbase.InterbasePlatform
-
Creates a new platform instance.
- isAlterDatabase() - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
-
Determines whether to alter the database if it already exists, or re-set it.
- isAlterDatabase() - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
-
Determines whether to alter the database if it already exists, or re-set it.
- isAlterTableForDropUsed() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether an ALTER TABLE statement shall be used for dropping indices
or constraints.
- isAtEnd() - Method in class org.apache.ddlutils.alteration.AddColumnChange
-
Determines whether the column is added at the end (when applied in the order
of creation of the changes).
- isAutoCommitModeForLastIdentityValueReading() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether auto-commit mode for the reading of the values of identity columns
after insertion shall be used, i.e.
- isAutoIncrement() - Method in class org.apache.ddlutils.model.Column
-
Determines whether this column is an auto-increment column.
- isAutoIncrement(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
-
Tries to determine whether the given column is an identity column.
- isAutoIndexPresent() - Method in class org.apache.ddlutils.model.ForeignKey
-
Determines whether this foreign key has an auto-generated associated index.
- isBinaryType(int) - Static method in class org.apache.ddlutils.model.TypeMap
-
Determines whether the given jdbc type (one of the
Types constants)
is a binary type.
- isCaseSensitive() - Method in class org.apache.ddlutils.io.DataReader
-
Determines whether this rules object matches case sensitively.
- isCaseSensitive() - Method in class org.apache.ddlutils.io.DigesterRules
-
Determines whether this rules object matches case sensitively.
- isConnectionOpen() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator
-
Determines whether the connection is still open.
- isDateTimeType(int) - Static method in class org.apache.ddlutils.model.TypeMap
-
Determines whether the given jdbc type (one of the
Types constants)
is a date/time type.
- isDebug() - Method in class org.apache.ddlutils.task.VerbosityLevel
-
Determines whether this is DEBUG verbosity.
- isDefaultValuesForLongTypesSupported() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether default values can be specified for LONGVARCHAR/LONGVARBINARY columns.
- isDefaultValueUsedForIdentitySpec() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether the auto-increment specification uses the DEFAULT value of the
column definition.
- isDelimitedIdentifierModeOn() - Method in interface org.apache.ddlutils.Platform
-
Determines whether delimited identifiers are used or normal SQL92 identifiers
(which may only contain alphanumerical characters and the underscore, must start
with a letter and cannot be a reserved keyword).
- isDelimitedIdentifierModeOn() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Determines whether delimited identifiers are used or normal SQL92 identifiers
(which may only contain alphanumerical characters and the underscore, must start
with a letter and cannot be a reserved keyword).
- isDelimitedIdentifiersSupported() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether delimited identifiers are supported.
- isDoDrops() - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
-
Determines whether SQL is generated to drop tables and the associated constraints
if necessary.
- isDoDrops() - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
-
Determines whether to drop tables and the associated constraints before re-creating them
(this implies alterDatabase is false).
- isEmbeddedForeignKeysNamed() - Method in class org.apache.ddlutils.PlatformInfo
-
Returns whether embedded foreign key constraints should have a name.
- isEnsureFKOrder() - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Determines whether the sink delays the insertion of beans so that the beans referenced by it
via foreignkeys are already inserted into the database.
- isEnsureFkOrder() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
-
Determines whether the sink delays the insertion of beans so that the beans referenced by it
via foreignkeys are already inserted into the database.
- isFailOnError() - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Determines whether data io is stopped when an error happens.
- isFailOnError() - Method in class org.apache.ddlutils.task.Command
-
Determines whether the command execution will be stopped upon an error.
- isForeignKeysEmbedded() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether foreign key constraints are embedded in the create
table clause or as seperate alter table statements.
- isForeignKeysSorted() - Method in interface org.apache.ddlutils.Platform
-
Determines whether foreign keys of a table read from a live database
are alphabetically sorted.
- isForeignKeysSorted() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Determines whether foreign keys of a table read from a live database
are alphabetically sorted.
- 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.
- isHaltOnErrors() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
-
Determines whether this sink halts when an error happens during the insertion of a bean
into the database.
- isIdentityOverrideAllowed() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether the platform is allows the explicit specification of values for
identity columns in INSERT/UPDATE statements.
- isIdentityOverrideOn() - Method in interface org.apache.ddlutils.Platform
-
Determines whether SQL insert statements can specify values for identity columns.
- isIdentityOverrideOn() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Determines whether SQL insert statements can specify values for identity columns.
- isIndicesEmbedded() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether the indices are embedded in the create table clause
or as seperate statements.
- isIndicesSupported() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether indices are supported.
- isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.derby.DerbyModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given foreign key.
- isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given foreign key.
- isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given foreign key.
- isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given foreign key.
- isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given foreign key.
- isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.mysql.MySqlModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given foreign key.
- isInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey, Index) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given foreign key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.db2.Db2ModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.derby.DerbyModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.mssql.MSSqlModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.mysql.MySqlModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table, Index) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
-
Tries to determine whether the index is the internal database-generated index
for the given table's primary key.
- isLastIdentityValueReadable() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether the values of identity columns can be read back from the
database after insertion of a row.
- isNonPKIdentityColumnsSupported() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether non-primary key columns can be auto-incrementing (IDENTITY columns).
- isNullAsDefaultValueRequired() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether a NULL needs to be explicitly stated when the column
has no specified default value.
- isNumericType(int) - Static method in class org.apache.ddlutils.model.TypeMap
-
Determines whether the given jdbc type (one of the
Types constants)
is a numeric type.
- isOfBinaryType() - Method in class org.apache.ddlutils.model.Column
-
Determines whether this column is of a binary type.
- isOfNumericType() - Method in class org.apache.ddlutils.model.Column
-
Determines whether this column is of a numeric type.
- isOfSpecialType() - Method in class org.apache.ddlutils.model.Column
-
Determines whether this column is of a special type.
- isOfTextType() - Method in class org.apache.ddlutils.model.Column
-
Determines whether this column is of a text type.
- isPlatformSupported(String) - Static method in class org.apache.ddlutils.PlatformFactory
-
Determines whether the indicated platform is supported.
- isPrettyPrinting() - Method in class org.apache.ddlutils.io.DataWriter
-
Determines whether the output shall be pretty-printed.
- isPrimaryKey() - Method in class org.apache.ddlutils.dynabean.SqlDynaProperty
-
Determines whether this property is for a primary key column.
- isPrimaryKey() - Method in class org.apache.ddlutils.model.Column
-
Determines whether this column is a primary key column.
- isPrimaryKeyEmbedded() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether primary key constraints are embedded in the create
table clause or as seperate alter table statements.
- isRequired() - Method in class org.apache.ddlutils.model.Column
-
Determines whether this column is a required column, ie.
- isRequiringModel() - Method in class 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.
- isRequiringModel() - Method in class org.apache.ddlutils.task.DatabaseCommand
-
Specifies whether this command requires a model, i.e.
- isRequiringModel() - Method in class org.apache.ddlutils.task.DropDatabaseCommand
-
Specifies whether this command requires a model, i.e.
- isRequiringModel() - Method in class org.apache.ddlutils.task.WriteDtdToFileCommand
-
Specifies whether this command requires a model, i.e.
- isRequiringModel() - Method in class org.apache.ddlutils.task.WriteSchemaToFileCommand
-
Specifies whether this command requires a model, i.e.
- isScriptModeOn() - Method in interface org.apache.ddlutils.Platform
-
Determines whether script mode is on.
- isScriptModeOn() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Determines whether script mode is on.
- isShutdownDatabase() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Determines whether the database shall be shut down after the task has finished.
- isShutdownDatabase() - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Determines whether the database shall be shut down after the task has finished.
- isSortForeignKeys() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Determines whether a table's foreign keys read from a live database
shall be sorted alphabetically.
- isSortForeignKeys() - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Determines whether a table's foreign keys read from a live database
shall be sorted alphabetically.
- isSpecialType(int) - Static method in class org.apache.ddlutils.model.TypeMap
-
Determines whether the given sql type (one of the
Types constants)
is a special type.
- isSqlCommentsOn() - Method in interface org.apache.ddlutils.Platform
-
Determines whether SQL comments are generated.
- isSqlCommentsOn() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Determines whether SQL comments are generated.
- isSqlCommentsSupported() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether the database supports SQL comments.
- isSyntheticDefaultValueForRequiredReturned() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether the platform returns synthetic default values (e.g.
- isSystemForeignKeyIndicesAlwaysNonUnique() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether system indices for foreign keys are always non-unique or can be
unique (i.e.
- isSystemIndicesReturned() - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether database-generated indices for primary and foreign keys are
returned when reading a model from a database.
- isTextType(int) - Static method in class org.apache.ddlutils.model.TypeMap
-
Determines whether the given jdbc type (one of the
Types constants)
is a text type.
- isUnique() - Method in interface org.apache.ddlutils.model.Index
-
Determines whether this index is unique or not.
- isUnique() - Method in class org.apache.ddlutils.model.NonUniqueIndex
-
Determines whether this index is unique or not.
- isUnique() - Method in class org.apache.ddlutils.model.UniqueIndex
-
Determines whether this index is unique or not.
- isUseBatchMode() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
-
Determines whether batch mode is used for inserting the beans.
- isUseDelimitedSqlIdentifiers() - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Determines whether delimited SQL identifiers shall be used (the default).
- isUseDelimitedSqlIdentifiers() - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Determines whether delimited SQL identifiers shall be used (the default).
- isUseInternalDtd() - Method in class org.apache.ddlutils.io.DatabaseIO
-
Returns whether the internal dtd that comes with DdlUtils is used.
- isValidateXml() - Method in class org.apache.ddlutils.io.DatabaseIO
-
Returns whether XML is validated upon reading it.
- isValidDefaultValue(String, int) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Determines whether the given default spec is a non-empty spec that shall be used in a DEFAULT
expression.
- iterator() - Static method in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
-
Returns an iterator of all enum values.
- JAVA_OBJECT - Static variable in class org.apache.ddlutils.model.TypeMap
-
- Jdbc3Utils - Class in org.apache.ddlutils.util
-
Little helper class providing functions for dealing with the newer JDBC functionality
in a way that is safe to compile with Java 1.3.
- Jdbc3Utils() - Constructor for class org.apache.ddlutils.util.Jdbc3Utils
-
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.axion.AxionPlatform
-
The axion jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
-
The standard DB2 jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.derby.DerbyPlatform
-
The derby jdbc driver for use as a client for a normal server.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.firebird.FirebirdPlatform
-
The standard Firebird jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
-
The standard Hsqldb jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.interbase.InterbasePlatform
-
The interbase jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.mckoi.MckoiPlatform
-
The standard McKoi jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
-
The standard SQLServer jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.mysql.MySqlPlatform
-
The standard MySQL jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
-
The standard Oracle jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
-
The standard PostgreSQL jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.sapdb.SapDbPlatform
-
The standard SapDB/MaxDB jdbc driver.
- JDBC_DRIVER - Static variable in class org.apache.ddlutils.platform.sybase.SybasePlatform
-
The standard Sybase jdbc driver.
- JDBC_DRIVER_DATADIRECT_DB2 - Static variable in class org.apache.ddlutils.PlatformUtils
-
The DataDirect Connect DB2 jdbc driver.
- JDBC_DRIVER_DATADIRECT_ORACLE - Static variable in class org.apache.ddlutils.PlatformUtils
-
The DataDirect Connect Oracle jdbc driver.
- JDBC_DRIVER_DATADIRECT_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
-
The DataDirect Connect SQLServer jdbc driver.
- JDBC_DRIVER_DATADIRECT_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
-
The DataDirect Connect Sybase jdbc driver.
- JDBC_DRIVER_EMBEDDED - Static variable in class org.apache.ddlutils.platform.derby.DerbyPlatform
-
The derby jdbc driver for use as an embedded database.
- JDBC_DRIVER_INET_DB2 - Static variable in class org.apache.ddlutils.PlatformUtils
-
The i-net DB2 jdbc driver.
- JDBC_DRIVER_INET_ORACLE - Static variable in class org.apache.ddlutils.PlatformUtils
-
The i-net Oracle jdbc driver.
- JDBC_DRIVER_INET_POOLED - Static variable in class org.apache.ddlutils.PlatformUtils
-
The i-net pooled jdbc driver for SQLServer and Sybase.
- JDBC_DRIVER_INET_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
-
The i-net SQLServer jdbc driver.
- JDBC_DRIVER_INET_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
-
The i-net Sybase jdbc driver.
- JDBC_DRIVER_JSQLCONNECT_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
-
The JNetDirect SQLServer jdbc driver.
- JDBC_DRIVER_JTDS - Static variable in class org.apache.ddlutils.PlatformUtils
-
The jTDS jdbc driver for SQLServer and Sybase.
- JDBC_DRIVER_JTOPEN - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
-
The JTOpen JDBC Driver.
- JDBC_DRIVER_NEW - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
-
The new SQLServer 2005 jdbc driver which can also be used for SQL Server 2000.
- JDBC_DRIVER_OLD - Static variable in class org.apache.ddlutils.platform.mysql.MySqlPlatform
-
The old MySQL jdbc driver.
- JDBC_DRIVER_OLD - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
-
The old Oracle jdbc driver.
- JDBC_DRIVER_OLD - Static variable in class org.apache.ddlutils.platform.sybase.SybasePlatform
-
The old Sybase jdbc driver.
- JDBC_DRIVER_OLD1 - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
-
Older name for the jdbc driver.
- JDBC_DRIVER_OLD2 - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
-
Older name for the jdbc driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.axion.AxionPlatform
-
The subprotocol used by the axion driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
-
The subprotocol used by the standard DB2 driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.derby.DerbyPlatform
-
The subprotocol used by the derby drivers.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.firebird.FirebirdPlatform
-
The subprotocol used by the standard Firebird driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
-
The subprotocol used by the standard Hsqldb driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.interbase.InterbasePlatform
-
The subprotocol used by the interbase driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.mckoi.MckoiPlatform
-
The subprotocol used by the standard McKoi driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
-
The subprotocol used by the standard SQL Server driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.mysql.MySqlPlatform
-
The subprotocol used by the standard MySQL driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
-
The subprotocol used by the standard PostgreSQL driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.sapdb.SapDbPlatform
-
The subprotocol used by the standard SapDB/MaxDB driver.
- JDBC_SUBPROTOCOL - Static variable in class org.apache.ddlutils.platform.sybase.SybasePlatform
-
The subprotocol used by the standard Sybase driver.
- JDBC_SUBPROTOCOL_1 - Static variable in class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform
-
A subprotocol used by the DB2 network driver.
- JDBC_SUBPROTOCOL_2 - Static variable in class org.apache.ddlutils.platform.cloudscape.CloudscapePlatform
-
A subprotocol used by the DB2 network driver.
- JDBC_SUBPROTOCOL_DATADIRECT_DB2 - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the DataDirect DB2 driver.
- JDBC_SUBPROTOCOL_DATADIRECT_ORACLE - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the DataDirect Oracle driver.
- JDBC_SUBPROTOCOL_DATADIRECT_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the DataDirect SQLServer driver.
- JDBC_SUBPROTOCOL_DATADIRECT_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the DataDirect Sybase driver.
- JDBC_SUBPROTOCOL_INET_DB2 - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the i-net DB2 driver.
- JDBC_SUBPROTOCOL_INET_ORACLE - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the i-net Oracle driver.
- JDBC_SUBPROTOCOL_INET_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
-
A subprotocol used by the i-net SQLServer driver.
- JDBC_SUBPROTOCOL_INET_SQLSERVER6 - Static variable in class org.apache.ddlutils.PlatformUtils
-
A subprotocol used by the i-net SQLServer driver.
- JDBC_SUBPROTOCOL_INET_SQLSERVER6_POOLED_1 - Static variable in class org.apache.ddlutils.PlatformUtils
-
A subprotocol used by the pooled i-net SQLServer driver.
- JDBC_SUBPROTOCOL_INET_SQLSERVER6_POOLED_2 - Static variable in class org.apache.ddlutils.PlatformUtils
-
A subprotocol used by the pooled i-net SQLServer driver.
- JDBC_SUBPROTOCOL_INET_SQLSERVER7 - Static variable in class org.apache.ddlutils.PlatformUtils
-
A subprotocol used by the i-net SQLServer driver.
- JDBC_SUBPROTOCOL_INET_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_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_SQLSERVER_POOLED_1 - Static variable in class org.apache.ddlutils.PlatformUtils
-
A subprotocol used by the pooled i-net SQLServer driver.
- JDBC_SUBPROTOCOL_INET_SQLSERVER_POOLED_2 - Static variable in class org.apache.ddlutils.PlatformUtils
-
A subprotocol used by the pooled i-net SQLServer driver.
- JDBC_SUBPROTOCOL_INET_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the i-net Sybase driver.
- JDBC_SUBPROTOCOL_INET_SYBASE_POOLED_1 - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the pooled i-net Sybase driver.
- JDBC_SUBPROTOCOL_INET_SYBASE_POOLED_2 - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the pooled i-net Sybase driver.
- JDBC_SUBPROTOCOL_INTERNAL - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
-
The subprotocol internally returned by the newer SQL Server 2005 driver.
- JDBC_SUBPROTOCOL_JSQLCONNECT_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the JNetDirect SQLServer driver.
- JDBC_SUBPROTOCOL_JTDS_SQLSERVER - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the jTDS SQLServer driver.
- JDBC_SUBPROTOCOL_JTDS_SYBASE - Static variable in class org.apache.ddlutils.PlatformUtils
-
The subprotocol used by the jTDS Sybase driver.
- JDBC_SUBPROTOCOL_JTOPEN - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
-
An alternative subprotocol used by the JTOpen driver on OS/400.
- JDBC_SUBPROTOCOL_NEW - Static variable in class org.apache.ddlutils.platform.mssql.MSSqlPlatform
-
The subprotocol recommended for the newer SQL Server 2005 driver.
- JDBC_SUBPROTOCOL_OCI8 - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
-
The thin subprotocol used by the standard Oracle driver.
- JDBC_SUBPROTOCOL_OS390_1 - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
-
An alternative subprotocol used by the standard DB2 driver on OS/390.
- JDBC_SUBPROTOCOL_OS390_2 - Static variable in class org.apache.ddlutils.platform.db2.Db2Platform
-
An alternative subprotocol used by the standard DB2 driver on OS/390.
- JDBC_SUBPROTOCOL_THIN - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
-
The thin subprotocol used by the standard Oracle driver.
- JDBC_SUBPROTOCOL_THIN_OLD - Static variable in class org.apache.ddlutils.platform.oracle.Oracle8Platform
-
The old thin subprotocol used by the standard Oracle driver.
- JdbcModelReader - Class in org.apache.ddlutils.platform
-
An utility class to create a Database model from a live database.
- JdbcModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.JdbcModelReader
-
Creates a new model reader instance.
- JdbcSupport - Class in org.apache.ddlutils.util
-
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 in org.apache.ddlutils.model
-
Represents the different categories of jdbc types.
- Parameter - Class in org.apache.ddlutils.task
-
Specifies a parameter for the creation of the database.
- Parameter() - Constructor for class org.apache.ddlutils.task.Parameter
-
- Platform - Interface in org.apache.ddlutils
-
A platform encapsulates the database-related functionality such as performing queries
and manipulations.
- PlatformConfiguration - Class in org.apache.ddlutils.task
-
Encloses the platform configuration for the Ant tasks.
- PlatformConfiguration() - Constructor for class org.apache.ddlutils.task.PlatformConfiguration
-
- PlatformFactory - Class in org.apache.ddlutils
-
A factory of
Platform instances based on a case
insensitive database name.
- PlatformFactory() - Constructor for class org.apache.ddlutils.PlatformFactory
-
- PlatformImplBase - Class in org.apache.ddlutils.platform
-
Base class for platform implementations.
- PlatformImplBase() - Constructor for class org.apache.ddlutils.platform.PlatformImplBase
-
- PlatformInfo - Class in org.apache.ddlutils
-
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 in org.apache.ddlutils
-
Utility functions for dealing with database platforms.
- PlatformUtils() - Constructor for class org.apache.ddlutils.PlatformUtils
-
Creates a new instance.
- PostgreSqlBuilder - Class in org.apache.ddlutils.platform.postgresql
-
The SQL Builder for PostgresSql.
- PostgreSqlBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
-
Creates a new builder instance.
- PostgreSqlModelReader - Class in org.apache.ddlutils.platform.postgresql
-
Reads a database model from a PostgreSql database.
- PostgreSqlModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
-
Creates a new model reader for PostgreSql databases.
- PostgreSqlPlatform - Class in org.apache.ddlutils.platform.postgresql
-
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.
- PrimaryKeyChange - Class in org.apache.ddlutils.alteration
-
Represents the change of the primary key of a table.
- PrimaryKeyChange(Table, Column[], Column[]) - Constructor for class org.apache.ddlutils.alteration.PrimaryKeyChange
-
Creates a new change object.
- print(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints some text.
- printComment(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints an SQL comment to the current stream.
- printDefaultValue(Object, int) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Prints the default value of the column.
- printDefaultValue(Object, int) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints the default value of the column.
- printEndOfStatement() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints the end of statement text, which is typically a semi colon followed by
a carriage return.
- printIdentifier(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints the given identifier.
- printIndent() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints the characters used to indent SQL.
- 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.
- printStartOfEmbeddedStatement() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints the start of an embedded statement.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Processes the removal of a column from a table.
- processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Processes the removal of a primary key from a table.
- processChange(Database, Database, PrimaryKeyChange) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Processes the change of the primary key of a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
-
Processes the addition of a column to a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Processes the removal of a column from a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
-
Processes the removal of a column from a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Processes the removal of a column from a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Processes the removal of a column from a table.
- processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Processes the removal of a primary key from a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Processes the removal of a column from a table.
- processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Processes the removal of a primary key from a table.
- processChange(Database, Database, PrimaryKeyChange) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Processes the change of the primary key of a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Processes the removal of a column from a table.
- processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Processes the removal of a primary key from a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
-
Processes the removal of a column from a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Processes the removal of a column from a table.
- processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Processes the removal of a primary key from a table.
- processChange(Database, Database, ColumnRequiredChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Processes the change of the required constraint of a column.
- processChange(Database, Database, ColumnDefaultValueChange) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Processes the change of the default value of a column.
- processChange(Database, Database, CreationParameters, ModelChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
This is a fall-through callback which generates a warning because a specific
change type wasn't handled.
- processChange(Database, Database, CreationParameters, RemoveForeignKeyChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the change representing the removal of a foreign key.
- processChange(Database, Database, CreationParameters, RemoveIndexChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the change representing the removal of an index.
- processChange(Database, Database, CreationParameters, RemoveTableChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the change representing the removal of a table.
- processChange(Database, Database, CreationParameters, AddTableChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the change representing the addition of a table.
- processChange(Database, Database, CreationParameters, AddForeignKeyChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the change representing the addition of a foreign key.
- processChange(Database, Database, CreationParameters, AddIndexChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the change representing the addition of an index.
- processChange(Database, Database, AddPrimaryKeyChange) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the addition of a primary key to a table.
- processChange(Database, Database, AddColumnChange) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Processes the addition of a column to a table.
- processChange(Database, Database, RemoveColumnChange) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Processes the removal of a column from a table.
- processChange(Database, Database, RemovePrimaryKeyChange) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Processes the removal of a primary key from a table.
- processChange(Database, Database, ColumnDefaultValueChange) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Processes the change of the default value of a column.
- processChanges(Database, Database, List, CreationParameters) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Processes the changes.
- processChanges(Database, Database, List, CreationParameters) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the changes.
- processChanges(Database, Database, List, CreationParameters) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Processes the changes.
- processColumnChange(Table, Table, Column, Column, boolean) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Processes a change to a column.
- processColumnChange(Table, Table, Column, Column) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Processes a change to a column.
- processColumnChange(Table, Table, Column, Column) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Processes a change to a column.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.mckoi.MckoiBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, CreationParameters, Collection) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the changes to the structure of tables.
- processTableStructureChanges(Database, Database, String, Map, List) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Processes the changes to the structure of a single table.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- processTableStructureChanges(Database, Database, Table, Table, Map, List) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Allows database-specific implementations to handle changes in a database
specific manner.
- read(String) - Method in class org.apache.ddlutils.io.DatabaseIO
-
Reads the database model contained in the specified file.
- read(File) - Method in class org.apache.ddlutils.io.DatabaseIO
-
Reads the database model contained in the specified file.
- read(Reader) - Method in class org.apache.ddlutils.io.DatabaseIO
-
Reads the database model given by the reader.
- read(InputSource) - Method in class org.apache.ddlutils.io.DatabaseIO
-
Reads the database model from the given input source.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.db2.Db2ModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.derby.DerbyModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.maxdb.MaxDbModelReader
-
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(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.mssql.MSSqlModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mysql.MySql50ModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mysql.MySqlModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.sapdb.SapDbModelReader
-
Extracts a column definition from the result set.
- readColumn(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
-
Extracts a column definition from the result set.
- readColumns(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Reads the column definitions for the indicated table.
- readColumns(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Reads the column definitions for the indicated table.
- readColumns(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Reads the column definitions for the indicated table.
- readColumns(ResultSet, List) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Reads the indicated columns from the result set.
- 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.axion.AxionModelReader
-
Retrieves the foreign keys of the indicated table.
- readForeignKeys(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Retrieves the foreign keys of the indicated table.
- readForeignKeys(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Retrieves the foreign keys of the indicated table.
- readForeignKeys(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Retrieves the foreign keys of the indicated table.
- readForeignKeys(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
-
Retrieves the foreign keys of the indicated table.
- readIndex(DatabaseMetaDataWrapper, Map, Map) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Reads the next index spec from the result set.
- readIndex(DatabaseMetaDataWrapper, Map, Map) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
-
Reads the next index spec from the result set.
- readIndices(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Determines the indices for the indicated table.
- 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 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.
- 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.
- 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.axion.AxionModelReader
-
Retrieves the names of the columns that make up the primary key for a given table.
- readPrimaryKeyNames(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Retrieves the names of the columns that make up the primary key for a given table.
- readPrimaryKeyNames(DatabaseMetaDataWrapper, String) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Retrieves the names of the columns that make up the primary key for a given table.
- 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.db2.Db2ModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.firebird.FirebirdModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.interbase.InterbaseModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mckoi.MckoiModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mssql.MSSqlModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.mysql.MySqlModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle10ModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.oracle.Oracle8ModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlModelReader
-
Reads the next table from the meta data.
- readTable(DatabaseMetaDataWrapper, Map) - Method in class org.apache.ddlutils.platform.sybase.SybaseModelReader
-
Reads the next table from the meta data.
- readTables(String, String, String[]) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Reads the tables from the database metadata.
- 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 in org.apache.ddlutils.model
-
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.
- registerConverter(int, SqlTypeConverter) - Method in class org.apache.ddlutils.io.ConverterConfiguration
-
Registers the given type converter for an sql type.
- registerConverter(String, String, SqlTypeConverter) - Method in class org.apache.ddlutils.io.ConverterConfiguration
-
Registers the given type converter for the specified column.
- registerConverter(DataConverterRegistration) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Registers a converter.
- registerJdbcType(int, String, JdbcTypeCategoryEnum) - Static method in class org.apache.ddlutils.model.TypeMap
-
Registers a jdbc type.
- registerPlatform(String, Class) - Static method in class org.apache.ddlutils.PlatformFactory
-
Registers a new platform.
- remove() - Method in class org.apache.ddlutils.platform.ModelBasedResultSetIterator
- removeColumn(IndexColumn) - Method in interface org.apache.ddlutils.model.Index
-
Removes the given index column from this index.
- removeColumn(int) - Method in interface org.apache.ddlutils.model.Index
-
Removes the column at the specified position in this index.
- removeColumn(IndexColumn) - Method in class org.apache.ddlutils.model.IndexImpBase
-
Removes the given index column from this index.
- removeColumn(int) - Method in class org.apache.ddlutils.model.IndexImpBase
-
Removes the column at the specified position in this index.
- removeColumn(Column) - Method in class org.apache.ddlutils.model.Table
-
Removes the given column.
- removeColumn(int) - Method in class org.apache.ddlutils.model.Table
-
Removes the indicated column.
- RemoveColumnChange - Class in org.apache.ddlutils.alteration
-
Represents the removal of a column from a table.
- RemoveColumnChange(Table, Column) - Constructor for class org.apache.ddlutils.alteration.RemoveColumnChange
-
Creates a new change object.
- 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.
- RemoveForeignKeyChange - Class in org.apache.ddlutils.alteration
-
Represents the removal of a foreign key from a table.
- RemoveForeignKeyChange(Table, ForeignKey) - Constructor for class org.apache.ddlutils.alteration.RemoveForeignKeyChange
-
Creates a new change object.
- 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.
- RemoveIndexChange - Class in org.apache.ddlutils.alteration
-
Represents the removal of an index from a table.
- RemoveIndexChange(Table, Index) - Constructor for class org.apache.ddlutils.alteration.RemoveIndexChange
-
Creates a new change object.
- removeInternalForeignKeyIndex(DatabaseMetaDataWrapper, Table, ForeignKey) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Tries to remove the internal index for the given foreign key.
- removeInternalPrimaryKeyIndex(DatabaseMetaDataWrapper, Table) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Tries to remove the internal index for the table's primary key.
- removePendingFK(Identity) - Method in class org.apache.ddlutils.io.WaitingObject
-
Removes the specified identity from list of identities of the waited-for objects.
- RemovePrimaryKeyChange - Class in org.apache.ddlutils.alteration
-
Represents the removal of the primary key from a table.
- RemovePrimaryKeyChange(Table, Column[]) - Constructor for class org.apache.ddlutils.alteration.RemovePrimaryKeyChange
-
Creates a new change object.
- removeReference(Reference) - Method in class org.apache.ddlutils.model.ForeignKey
-
Removes the given reference.
- removeReference(int) - Method in class org.apache.ddlutils.model.ForeignKey
-
Removes the indicated reference.
- removeSystemIndices(DatabaseMetaDataWrapper, Table) - Method in class org.apache.ddlutils.platform.axion.AxionModelReader
-
Removes system indices (generated by the database for primary and foreign keys)
from the table.
- removeSystemIndices(DatabaseMetaDataWrapper, Table) - Method in class org.apache.ddlutils.platform.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.
- RemoveTableChange - Class in org.apache.ddlutils.alteration
-
Represents the removal of a table from a model.
- RemoveTableChange(Table) - Constructor for class org.apache.ddlutils.alteration.RemoveTableChange
-
Creates a new change object.
- resetDynaClassCache() - Method in class org.apache.ddlutils.model.Database
-
Resets the dyna class cache.
- resolveEntity(String, String) - Method in class org.apache.ddlutils.io.LocalEntityResolver
- returnConnection(Connection) - Method in interface org.apache.ddlutils.Platform
-
Closes the given JDBC connection (returns it back to the pool if the datasource is poolable).
- returnConnection(Connection) - Method in class org.apache.ddlutils.util.JdbcSupport
-
Closes the given JDBC connection (returns it back to the pool if the datasource is poolable).
- SapDbBuilder - Class in org.apache.ddlutils.platform.sapdb
-
The SQL Builder for SapDB.
- SapDbBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Creates a new builder instance.
- SapDbModelReader - Class in org.apache.ddlutils.platform.sapdb
-
Reads a database model from a SapDb database.
- SapDbModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.sapdb.SapDbModelReader
-
Creates a new model reader for SapDb databases.
- SapDbPlatform - Class in org.apache.ddlutils.platform.sapdb
-
The SapDB platform implementation.
- SapDbPlatform() - Constructor for class org.apache.ddlutils.platform.sapdb.SapDbPlatform
-
Creates a new platform instance.
- serialize(Object) - Method in class org.apache.ddlutils.io.BinaryObjectsHelper
-
Serializes the given object to a byte array representation.
- setAlterDatabase(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
-
Specifies whether DdlUtils shall generate SQL to alter an existing database rather
than SQL for clearing it and creating it new.
- setAlterDatabase(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
-
Specifies whether DdlUtils shall alter an existing database rather than clearing it and
creating it new.
- setAlterTableForDropUsed(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether an ALTER TABLE statement shall be used for dropping indices
or constraints.
- setAtEnd(boolean) - Method in class org.apache.ddlutils.alteration.AddColumnChange
-
Specifies whether the column is added at the end (when applied in the order
of creation of the changes).
- setAutoCommitModeForLastIdentityValueReading(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Determines whether auto-commit mode for the reading of the values of identity columns
after insertion shall be used, i.e.
- setAutoIncrement(boolean) - Method in class org.apache.ddlutils.model.Column
-
Specifies whether this column is an auto-increment column.
- setAutoIndexPresent(boolean) - Method in class org.apache.ddlutils.model.ForeignKey
-
Specifies whether this foreign key has an auto-generated associated index.
- setBatchSize(Integer) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Sets the batch size to be used by this object.
- setBatchSize(int) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
-
Sets the (maximum) number of beans to insert in one batch.
- setBatchSize(int) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
-
The maximum number of insert statements to combine in one batch.
- setCaseSensitive(boolean) - Method in class org.apache.ddlutils.io.DataReader
-
Specifies whether this rules object shall match case sensitively.
- setCaseSensitive(boolean) - Method in class org.apache.ddlutils.io.DigesterRules
-
Specifies whether this rules object shall match case sensitively.
- setCatalog(String) - Method in class org.apache.ddlutils.model.Table
-
Sets the catalog of this table.
- setCatalog(String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Sets the catalog in the database to read.
- setCatalogPattern(String) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Specifies a pattern that defines which database catalogs to use.
- setCatalogPattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Sets the catalog pattern used when accessing the database.
- setCatalogPattern(String) - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Sets the catalog pattern.
- setClassName(String) - Method in class org.apache.ddlutils.io.DataConverterRegistration
-
Sets the converter class.
- setColumn(String) - Method in class org.apache.ddlutils.io.DataConverterRegistration
-
Sets the column for which this converter is defined.
- setColumn(Column) - Method in class org.apache.ddlutils.model.IndexColumn
-
Sets the indexed column.
- setColumnPattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Specifies the columns to be processed.
- SetColumnPropertyFromSubElementRule - Class in org.apache.ddlutils.io
-
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 in org.apache.ddlutils.io
-
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.
- setColumnValue(String, Object) - Method in class org.apache.ddlutils.io.Identity
-
Specifies the value of the indicated identity columns.
- setCommentPrefix(String) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the text that starts a comment.
- setCommentSuffix(String) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the text that ends a comment.
- setDatabaseType(String) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Specifies the database type.
- setDatabaseType(String) - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Sets the database type.
- setDataFile(File) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
-
Specifies the name of the single XML file that contains the data to insert into the database.
- setDataSource(DataSource) - Method in interface org.apache.ddlutils.Platform
-
Sets the data source that this platform shall use to access the database.
- setDataSource(BasicDataSource) - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Sets the data source to use for accessing the database.
- setDataSource(DataSource) - Method in class org.apache.ddlutils.util.JdbcSupport
-
Sets the DataSource used for communicating with the database.
- setDefaultCatalogPattern(String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Sets the catalog(s) in the database to read per default.
- setDefaultColumnPattern(String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Sets the default pattern to read the relevant columns from the database.
- setDefaultSchemaPattern(String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Sets the schema(s) in the database to read per default.
- setDefaultSize(int, int) - Method in class org.apache.ddlutils.PlatformInfo
-
Adds a default size for the given jdbc type.
- setDefaultSize(String, int) - Method in class org.apache.ddlutils.PlatformInfo
-
Adds a default size for the given jdbc type.
- setDefaultTablePattern(String) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Sets the default pattern to read the relevant tables from the database.
- setDefaultTableTypes(String[]) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Sets the table types to recognize per default.
- setDefaultValue(String) - Method in class org.apache.ddlutils.model.Column
-
Sets the default value of the column.
- setDefaultValuesForLongTypesSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether default values can be specified for LONGVARCHAR/LONGVARBINARY columns.
- setDefaultValueUsedForIdentitySpec(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether the auto-increment specification uses the DEFAULT value of the
column definition.
- setDelimitedIdentifierModeOn(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Specifies whether delimited identifiers are used or normal SQL92 identifiers.
- setDelimitedIdentifierModeOn(boolean) - Method in interface org.apache.ddlutils.Platform
-
Specifies whether delimited identifiers are used or normal SQL92 identifiers.
- setDelimitedIdentifiersSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether delimited identifiers are supported.
- setDelimiterToken(String) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the text that is used to delimit identifiers (eg.
- setDescription(String) - Method in class org.apache.ddlutils.model.Column
-
Sets the description of the column.
- setDescription(String) - Method in class org.apache.ddlutils.model.Table
-
Sets the description of the table.
- setDetermineSchema(boolean) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Deprecated.
Will be removed once proper schema support is in place
- setDetermineSchema(boolean) - Method in class org.apache.ddlutils.task.WriteDataToFileCommand
-
Deprecated.
Will be removed once proper schema support is in place
- setDoDrops(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
-
Specifies whether SQL for dropping tables, external constraints, etc.
- setDoDrops(boolean) - Method in class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
-
Specifies whether tables, external constraints, etc.
- setDumpProcedures(boolean) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Specifies whether procedures shall be read from the database.
- setDumpTables(boolean) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Specifies whether tables shall be read from the database.
- setEmbeddedForeignKeysNamed(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether embedded foreign key constraints should be named.
- setEncoding(String) - Method in class org.apache.ddlutils.task.WriteDataToFileCommand
-
Specifies the encoding of the XML file.
- setEnsureFKOrder(boolean) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Specifies whether the sink shall delay the insertion of beans so that the beans referenced by it
via foreignkeys are already inserted into the database.
Note that you should careful with setting haltOnErrors to false as this might
result in beans not inserted at all.
- setEnsureForeignKeyOrder(boolean) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
-
Specifies whether the sink shall delay the insertion of beans so that the beans referenced by it
via foreignkeys are already inserted into the database.
Note that you should careful with setting haltOnErrors to false as this might
result in beans not inserted at all.
- setEnsureForeignKeyOrder(boolean) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
-
Specifies whether the foreign key order shall be honored when inserting data into the database.
- setFailOnError(boolean) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Specifies whether data io shall be stopped when an error happens.
- setFailOnError(boolean) - Method in class org.apache.ddlutils.task.Command
-
Specifies whether the execution shall stop if an error has occurred during the task runs.
- setForeignColumn(Column) - Method in class org.apache.ddlutils.model.Reference
-
Sets the foreign column.
- setForeignColumnName(String) - Method in class org.apache.ddlutils.model.Reference
-
Sets the name of the remote column.
- setForeignKeysEmbedded(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether foreign key constraints are embedded in the create
table clause or as seperate alter table statements.
- setForeignKeysSorted(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Specifies whether foreign keys read from a live database, shall be
alphabetically sorted.
- setForeignKeysSorted(boolean) - Method in interface org.apache.ddlutils.Platform
-
Specifies whether foreign keys read from a live database, shall be
alphabetically sorted.
- setForeignTable(Table) - Method in class org.apache.ddlutils.model.ForeignKey
-
Sets the foreign table.
- setForeignTableName(String) - Method in class org.apache.ddlutils.model.ForeignKey
-
Sets the name of the foreign table.
- setHaltOnErrors(boolean) - Method in class org.apache.ddlutils.io.DataToDatabaseSink
-
Specifies whether this sink halts when an error happens during the insertion of a bean
into the database.
- setHasNullDefault(int, boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether the native type for the given sql type code (one of the
Types constants) has a null default value on this platform.
- setHasPrecisionAndScale(int, boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether the native type for the given sql type code (one of the
Types constants) has precision and scale specifications on
this platform.
- setHasSize(int, boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether the native type for the given sql type code (one of the
Types constants) has a size specification on this platform.
- setIdentityOverrideAllowed(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether the platform is allows the explicit specification of values for
identity columns in INSERT/UPDATE statements.
- setIdentityOverrideOn(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Specifies whether SQL insert statements can specify values for identity columns.
- setIdentityOverrideOn(boolean) - Method in interface org.apache.ddlutils.Platform
-
Specifies whether SQL insert statements can specify values for identity columns.
- setIdentityStatusReadingSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether the platform is able to read the auto-increment status for columns
from an existing database.
- setIdMethod(String) - Method in class org.apache.ddlutils.model.Database
-
Sets the method for generating primary key values.
- setIndent(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Sets the string used to indent the SQL.
- setIndicesEmbedded(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether indices are embedded in the create table clause or
as seperate alter table statements.
- setIndicesSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether indices are supported.
- setJavaName(String) - Method in class org.apache.ddlutils.model.Column
-
Sets the java name of the column.
- setJdbcType(String) - Method in class org.apache.ddlutils.io.DataConverterRegistration
-
Sets the jdbc type.
- setLastIdentityValueReadable(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether the values of identity columns can be read back from the
database after insertion of a row.
- setLocalColumn(Column) - Method in class org.apache.ddlutils.model.Reference
-
Sets the local column.
- setLocalColumnName(String) - Method in class org.apache.ddlutils.model.Reference
-
Sets the name of the local column.
- setMaxColumnNameLength(int) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the maximum length of column names that this database allows.
- setMaxConstraintNameLength(int) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the maximum length of constraint names that this database allows.
- setMaxForeignKeyNameLength(int) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the maximum length of foreign key names that this database allows.
- setMaxIdentifierLength(int) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the maximum length of all identifiers that this database allows.
- setMaxTableNameLength(int) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the maximum length of table names that this database allows.
- setMetaData(DatabaseMetaData) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Sets the database meta data.
- setModel(Database) - Method in class org.apache.ddlutils.io.DataReader
-
Sets the database model.
- setModelName(String) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
-
Specifies the name of the model that is read from the database.
- setModelReader(JdbcModelReader) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Sets the model reader for this platform.
- setName(String) - Method in class org.apache.ddlutils.model.Column
-
Sets the name of the column.
- setName(String) - Method in class org.apache.ddlutils.model.Database
-
Sets the name of this database model.
- setName(String) - Method in class org.apache.ddlutils.model.ForeignKey
-
Sets the name of this foreign key.
- setName(String) - Method in interface org.apache.ddlutils.model.Index
-
Sets the name of the index.
- setName(String) - Method in class org.apache.ddlutils.model.IndexColumn
-
Sets the name of the column.
- setName(String) - Method in class org.apache.ddlutils.model.IndexImpBase
-
Sets the name of the index.
- setName(String) - Method in class org.apache.ddlutils.model.Table
-
Sets the name of the table.
- setName(String) - Method in class org.apache.ddlutils.task.Parameter
-
Specifies the name of the parameter.
- setNonPKIdentityColumnsSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether non-primary key columns can be auto-incrementing (IDENTITY columns).
- setNullAsDefaultValueRequired(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether a NULL needs to be explicitly stated when the column
has no specified default value.
- setObject(PreparedStatement, int, DynaBean, SqlDynaProperty) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Sets a parameter of the prepared statement based on the type of the column of the property.
- setObject(PreparedStatement, int, DynaBean, SqlDynaProperty) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlPlatform
-
Sets a parameter of the prepared statement based on the type of the column of the property.
- setOrdinalPosition(int) - Method in class org.apache.ddlutils.model.IndexColumn
-
Sets the position within the owning index.
- setOutputEncoding(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Specifies the encoding of the output file.
- setOutputFile(File) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Specifies the output file to which the database metadata is written to.
- setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteDataToFileCommand
-
Specifies the file to write the data XML to.
- setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteDtdToFileCommand
-
Specifies the name of the file to write the DTD to.
- setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
-
Specifies the name of the file to write the SQL commands to.
- setOutputFile(File) - Method in class org.apache.ddlutils.task.WriteSchemaToFileCommand
-
Specifies the name of the file to write the schema XML to.
- setPassword(String) - Method in interface org.apache.ddlutils.Platform
-
Sets the password that this platform shall use to access the database.
- setPassword(String) - Method in class org.apache.ddlutils.util.JdbcSupport
-
Sets the password to be used to access the database.
- setPlatformConfiguration(PlatformConfiguration) - Method in class org.apache.ddlutils.task.DatabaseCommand
-
Sets the platform configuration.
- setPlatforms(String) - Method in class org.apache.ddlutils.task.Parameter
-
Specifies the platforms - a comma-separated list of platform names - for which this parameter
shall be used (see the databaseType attribute of the tasks for possible values).
- setPrecisionRadix(int) - Method in class org.apache.ddlutils.model.Column
-
Sets the precision radix of the column.
- setPrettyPrinting(boolean) - Method in class org.apache.ddlutils.io.DataWriter
-
Specifies whether the output shall be pretty-printed.
- setPrimaryKey(boolean) - Method in class org.apache.ddlutils.model.Column
-
Specifies whether this column is a primary key column.
- setPrimaryKeyEmbedded(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether the primary key constraints are embedded in the create
table clause or as seperate alter table statements.
- setProcedurePattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Specifies the procedures to be processed.
- setRequired(boolean) - Method in class org.apache.ddlutils.model.Column
-
Specifies whether this column is a required column, ie.
- setScale(int) - Method in class org.apache.ddlutils.model.Column
-
Sets the scale of the column.
- setSchema(String) - Method in class org.apache.ddlutils.model.Table
-
Sets the schema of this table.
- setSchemaFile(File) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Defines the single file that contains the database file.
- setSchemaPattern(String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Deprecated.
Will be removed once proper schema support is in place
- setSchemaPattern(String) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Sets the schema in the database to read.
- setSchemaPattern(String) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Specifies a pattern that defines which database schemas to use.
- setSchemaPattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Sets the schema pattern used when accessing the database.
- setSchemaPattern(String) - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Sets the schema pattern.
- setScriptModeOn(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Specifies whether script mode is on.
- setScriptModeOn(boolean) - Method in interface org.apache.ddlutils.Platform
-
Specifies whether script mode is on.
- setSequenceValue(int) - Method in class org.apache.ddlutils.model.Reference
-
Sets the sequence value within the owning key.
- setShutdownDatabase(boolean) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Specifies whether DdlUtils shall shut down the database after the task has finished.
- setShutdownDatabase(boolean) - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Specifies whether the database shall be shut down after the task has finished.
- setSimpleLogging(boolean) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Specifies whether simple logging (configured by the task via the verbosity
setting) shall be used, or whether logging is configured outside of the task
(e.g.
- setSink(DataSink) - Method in class org.apache.ddlutils.io.DataReader
-
Sets the data sink.
- setSize(String) - Method in class org.apache.ddlutils.model.Column
-
Sets the size of the column.
- setSize(String) - Method in class org.apache.ddlutils.model.IndexColumn
-
Sets the size of the column in the index.
- setSizeAndScale(int, int) - Method in class org.apache.ddlutils.model.Column
-
Sets both the size and scale.
- setSortForeignKeys(boolean) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Specifies whether DdlUtils shall sort the foreign keys of a table read from a live database or
leave them in the order in which they are returned by the database/JDBC driver.
- setSortForeignKeys(boolean) - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Specifies whether a table's foreign keys read from a live database
shall be sorted alphabetically.
- setSqlBuilder(SqlBuilder) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Sets the sql builder for this platform.
- setSqlCommandDelimiter(String) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the text separating individual sql commands.
- setSqlCommentsOn(boolean) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Specifies whether SQL comments shall be generated.
- setSqlCommentsOn(boolean) - Method in interface org.apache.ddlutils.Platform
-
Specifies whether SQL comments shall be generated.
- setSqlCommentsSupported(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether SQL comments are supported by the database.
- setStatementParameterValue(PreparedStatement, int, int, Object) - Method in class org.apache.ddlutils.platform.interbase.InterbasePlatform
-
This is the core method to set the parameter of a prepared statement to a given value.
- setStatementParameterValue(PreparedStatement, int, int, Object) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
This is the core method to set the parameter of a prepared statement to a given value.
- setStatementParameterValue(PreparedStatement, int, int, Object) - Method in class org.apache.ddlutils.platform.sybase.SybasePlatform
-
This is the core method to set the parameter of a prepared statement to a given value.
- setSyntheticDefaultValueForRequiredReturned(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether the platform returns synthetic default values (e.g.
- setSystemForeignKeyIndicesAlwaysNonUnique(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether system indices for foreign keys are always non-unique or can be
unique (i.e.
- setSystemIndicesReturned(boolean) - Method in class org.apache.ddlutils.PlatformInfo
-
Specifies whether database-generated indices for primary and foreign keys are
returned when reading a model from a database.
- setTable(String) - Method in class org.apache.ddlutils.io.DataConverterRegistration
-
Sets the table for whose column this converter is defined.
- setTable(String) - Method in class org.apache.ddlutils.task.TableSpecificParameter
-
Specifies the name of the table in whose creation this parameter shall be applied.
- setTablePattern(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Specifies the table to be processed.
- setTables(String) - Method in class org.apache.ddlutils.task.TableSpecificParameter
-
Specifies the comma-separated list of table names in whose creation this parameter
shall be used.
- setTableTypes(String[]) - Method in class org.apache.ddlutils.platform.DatabaseMetaDataWrapper
-
Sets the table types to recognize.
- setTableTypes(String) - Method in class org.apache.ddlutils.task.DatabaseToDdlTask
-
Specifies the table types to be processed.
- setTableTypes(String) - Method in class org.apache.ddlutils.task.DumpMetadataTask
-
Specifies the table types to be processed.
- setType(String) - Method in class org.apache.ddlutils.model.Column
-
Sets the JDBC type of the column.
- setType(String) - Method in class org.apache.ddlutils.model.Table
-
Sets the type of this table.
- setTypeCode(int) - Method in class org.apache.ddlutils.model.Column
-
Sets the code (one of the constants in
Types) of the
JDBC type of the column.
- setUseBatchMode(boolean) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Specifies whether batch mode should be used for inserting data into the database.
- 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 batch mode shall be used for inserting the data.
- setUseDelimitedSqlIdentifiers(boolean) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Specifies whether DdlUtils shall use delimited (quoted) identifiers (such as table and column
names).
- setUseDelimitedSqlIdentifiers(boolean) - Method in class org.apache.ddlutils.task.PlatformConfiguration
-
Specifies whether delimited SQL identifiers shall be used.
- setUseExplicitIdentityValues(boolean) - Method in class org.apache.ddlutils.task.WriteDataToDatabaseCommand
-
Defines whether values for identity columns in the data XML shall be used instead of
letting the database define the value.
- setUseInternalDtd(boolean) - Method in class org.apache.ddlutils.io.DatabaseIO
-
Specifies whether the internal dtd is to be used.
- setUseInternalDtd(boolean) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Specifies whether DdlUtils shall use the embedded DTD for validating the schema XML (if
it matches http://db.apache.org/torque/dtd/database.dtd).
- setUsername(String) - Method in interface org.apache.ddlutils.Platform
-
Sets the username that this platform shall use to access the database.
- setUsername(String) - Method in class org.apache.ddlutils.util.JdbcSupport
-
Sets the username to be used to access the database.
- setValidateXml(boolean) - Method in class org.apache.ddlutils.io.DatabaseIO
-
Specifies whether XML shall be validated upon reading it.
- setValidateXml(boolean) - Method in class org.apache.ddlutils.task.DdlToDatabaseTask
-
Specifies whether XML input files should be validated against the DTD at all.
- setValue(String) - Method in class org.apache.ddlutils.task.Parameter
-
Specifies the parameter value.
- setValueDateFormat(DateFormat) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Sets the format object for formatting dates in the specified locale.
- setValueLocale(String) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Sets the locale that is used for number and date formatting
(when printing default values and in generates insert/update/delete
statements).
- setValueNumberFormat(NumberFormat) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Returns a new date format object for formatting numbers in the specified locale.
- setValueQuoteToken(String) - Method in class org.apache.ddlutils.PlatformInfo
-
Sets the text that is used for for quoting values (e.g.
- setValueTimeFormat(DateFormat) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Sets the date format object for formatting times in the specified locale.
- setVerbosity(VerbosityLevel) - Method in class org.apache.ddlutils.task.DatabaseTaskBase
-
Specifies the verbosity of the task's debug output.
- setVersion(String) - Method in class org.apache.ddlutils.model.Database
-
Sets the version of this database model.
- setWriter(Writer) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Sets the writer for printing the DDL to.
- shortenName(String, int) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Generates a version of the name that has at most the specified
length.
- shouldGeneratePrimaryKeys(Column[]) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Determines whether we should generate a primary key constraint for the given
primary key columns.
- 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.
- shutdownDatabase(Connection) - Method in class org.apache.ddlutils.platform.hsqldb.HsqlDbPlatform
-
Performs a shutdown at the database.
- shutdownDatabase() - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Performs a shutdown at the database.
- shutdownDatabase(Connection) - Method in class org.apache.ddlutils.platform.PlatformImplBase
-
Performs a shutdown at the database.
- 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.
- 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
-
- sortForeignKeys(boolean) - Method in class org.apache.ddlutils.model.Table
-
Sorts the foreign keys alphabetically.
- sortForeignKeys(Database) - Method in class org.apache.ddlutils.platform.JdbcModelReader
-
Sorts the foreign keys in the tables of the model.
- SPECIAL - Static variable in class org.apache.ddlutils.model.JdbcTypeCategoryEnum
-
The enum value for special jdbc types.
- SqlBuilder - Class in org.apache.ddlutils.platform
-
This class is a collection of Strategy methods for creating the DDL required to create and drop
databases and tables.
- SqlBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.SqlBuilder
-
Creates a new sql builder.
- SqlDynaBean - Class in org.apache.ddlutils.dynabean
-
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 in org.apache.ddlutils.dynabean
-
SqlDynaClass is a DynaClass which is associated with a persistent
Table in a Database.
- SqlDynaClass(Table, SqlDynaProperty[]) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaClass
-
Creates a new dyna class instance for the given table that has the given properties.
- SqlDynaException - Exception in org.apache.ddlutils.dynabean
-
This exception is thrown when something dealing with sql dyna beans or classes failed.
- SqlDynaException() - Constructor for exception org.apache.ddlutils.dynabean.SqlDynaException
-
Creates a new empty exception object.
- SqlDynaException(String) - Constructor for exception org.apache.ddlutils.dynabean.SqlDynaException
-
Creates a new exception object.
- SqlDynaException(Throwable) - Constructor for exception org.apache.ddlutils.dynabean.SqlDynaException
-
Creates a new exception object.
- SqlDynaException(String, Throwable) - Constructor for exception org.apache.ddlutils.dynabean.SqlDynaException
-
Creates a new exception object.
- SqlDynaProperty - Class in org.apache.ddlutils.dynabean
-
A DynaProperty which maps to a persistent Column in a database.
- SqlDynaProperty(Column) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaProperty
-
Creates a property instance for the given column that accepts any data type.
- SqlDynaProperty(Column, Class) - Constructor for class org.apache.ddlutils.dynabean.SqlDynaProperty
-
Creates a property instance for the given column that only accepts the given type.
- SqlTokenizer - Class in org.apache.ddlutils.util
-
A statement tokenizer for SQL strings that splits only at delimiters that
are at the end of a line or the end of the SQL (row mode).
- SqlTokenizer(String) - Constructor for class org.apache.ddlutils.util.SqlTokenizer
-
Creates a new sql tokenizer.
- SqlTypeConverter - Interface in org.apache.ddlutils.io.converters
-
Interface for classes that convert between strings and sql data types.
- start() - Method in interface org.apache.ddlutils.io.DataSink
-
Notifies the sink that beans will be added.
- start() - Method in class org.apache.ddlutils.io.DataToDatabaseSink
-
Notifies the sink that beans will be added.
- store(Database, DynaBean) - Method in 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.
- 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.
- STRUCT - Static variable in class org.apache.ddlutils.model.TypeMap
-
- supportsJava14BatchResultCodes() - Static method in class org.apache.ddlutils.util.Jdbc3Utils
-
Determines whether the system supports the Java 1.4 batch result codes.
- supportsJava14JdbcTypes() - Static method in class org.apache.ddlutils.util.Jdbc3Utils
-
Determines whether the system supports the Java 1.4 JDBC Types, DATALINK
and BOOLEAN.
- SybaseASE15Platform - Class in org.apache.ddlutils.platform.sybase
-
The platform implementation for Sybase ASE 15 and above.
- SybaseASE15Platform() - Constructor for class org.apache.ddlutils.platform.sybase.SybaseASE15Platform
-
Creates a new platform instance.
- SybaseBuilder - Class in org.apache.ddlutils.platform.sybase
-
The SQL Builder for Sybase.
- SybaseBuilder(Platform) - Constructor for class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Creates a new builder instance.
- SybaseModelReader - Class in org.apache.ddlutils.platform.sybase
-
Reads a database model from a Sybase database.
- SybaseModelReader(Platform) - Constructor for class org.apache.ddlutils.platform.sybase.SybaseModelReader
-
Creates a new model reader for Sybase databases.
- SybasePlatform - Class in org.apache.ddlutils.platform.sybase
-
The platform implementation for Sybase.
- SybasePlatform() - Constructor for class org.apache.ddlutils.platform.sybase.SybasePlatform
-
Creates a new platform instance.
- WaitingObject - Class in org.apache.ddlutils.io
-
Represents an object waiting for insertion into the database.
- WaitingObject(DynaBean, Identity) - Constructor for class org.apache.ddlutils.io.WaitingObject
-
Creates a new WaitingObject instance for the given object.
- 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.
- 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.
- writeCastExpression(Column, Column) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Writes a cast expression that converts the value of the source column to the data type
of the target column.
- writeCastExpression(Column, Column) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
-
Writes a cast expression that converts the value of the source column to the data type
of the target column.
- writeCastExpression(Column, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes a cast expression that converts the value of the source column to the data type
of the target column.
- writeCastExpression(Column, Column) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Writes a cast expression that converts the value of the source column to the data type
of the target column.
- writeColumn(Table, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Outputs the DDL for the specified column.
- writeColumn(Table, Column) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Outputs the DDL for the specified column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.axion.AxionBuilder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.cloudscape.CloudscapeBuilder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Prints that the column is an auto increment column.
- writeColumnAutoIncrementStmt(Table, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints that the column is an auto increment 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.SqlBuilder
-
Prints the default value of the column.
- writeColumnDefaultValueStmt(Table, Column) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints the default value stmt part for the column.
- writeColumnNotNullableStmt() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints that a column is not nullable.
- writeColumnNullableStmt() - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Prints that a column is nullable.
- writeColumns(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes the columns of the given table.
- writeCopyDataStatement(Table, Table) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Writes a statement that copies the data from the source to the target table.
- writeCopyDataStatement(Table, Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes a statement that copies the data from the source to the target table.
- writeCopyDataStatement(Table, Table) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Writes a statement that copies the data from the source to the target table.
- writeDataToDatabase(Platform, String[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the specified files and writes it to the database to which the given
platform is connected.
- writeDataToDatabase(Platform, InputStream[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the given input streams and writes it to the database to which the given
platform is connected.
- writeDataToDatabase(Platform, Reader[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the given input readers and writes it to the database to which the given
platform is connected.
- writeDataToDatabase(Platform, Database, String[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the indicated files and writes it to the database to which the given
platform is connected.
- writeDataToDatabase(Platform, Database, InputStream[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the given input streams and writes it to the database to which the given
platform is connected.
- writeDataToDatabase(Platform, Database, Reader[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the given input readers and writes it to the database to which the given
platform is connected.
- writeDataToDatabase(DataReader, String[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the specified files and writes it to the database via the given data reader.
- writeDataToDatabase(DataReader, InputStream[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the given input stream and writes it to the database via the given data reader.
- writeDataToDatabase(DataReader, Reader[]) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the given input stream and writes it to the database via the given data reader.
- writeDataToDatabase(DataReader, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the indicated XML file and writes it to the database via the given data reader.
- writeDataToDatabase(DataReader, InputStream) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the given input stream and writes it to the database via the given data reader.
- writeDataToDatabase(DataReader, Reader) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Reads the data from the given input stream and writes it to the database via the given data reader.
- WriteDataToDatabaseCommand - Class in org.apache.ddlutils.task
-
Inserts the data defined by the data XML file(s) into the database.
- WriteDataToDatabaseCommand() - Constructor for class org.apache.ddlutils.task.WriteDataToDatabaseCommand
-
- WriteDataToFileCommand - Class in org.apache.ddlutils.task
-
Reads the data currently in the table in the live database (as specified by the
enclosing task), and writes it as XML to a file.
- WriteDataToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteDataToFileCommand
-
- writeDataToXML(Platform, String, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Writes the data contained in the database to which the given platform is connected, as XML
to the given output stream (which won't be closed by this method).
- writeDataToXML(Platform, Database, String, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Writes the data contained in the database to which the given platform is connected, as XML
to the given output stream (which won't be closed by this method).
- writeDataToXML(Platform, OutputStream, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Writes the data contained in the database to which the given platform is connected, as XML
to the given output stream (which won't be closed by this method).
- writeDataToXML(Platform, Database, OutputStream, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Writes the data contained in the database to which the given platform is connected, as XML
to the given output stream (which won't be closed by this method).
- writeDataToXML(Platform, Writer, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Writes the data contained in the database to which the given platform is connected, as XML
to the given output writer (which won't be closed by this method).
- writeDataToXML(Platform, Database, Writer, String) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Writes the data contained in the database to which the given platform is connected, as XML
to the given output writer (which won't be closed by this method).
- writeDataToXML(Platform, DataWriter) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Writes the data contained in the database to which the given platform is connected, as XML
to the given data writer.
- writeDataToXML(Platform, Database, DataWriter) - Method in class org.apache.ddlutils.io.DatabaseDataIO
-
Writes the data contained in the database to which the given platform is connected, as XML
to the given data writer.
- writeDocumentEnd() - Method in class org.apache.ddlutils.io.DataWriter
-
Writes the end of the XML document, i.e.
- writeDocumentStart() - Method in class org.apache.ddlutils.io.DataWriter
-
Writes the start of the XML document, i.e.
- writeDtd(Database, Writer) - Method in class org.apache.ddlutils.io.DataDtdWriter
-
Writes the DTD for data xml files for the given database model, to the specified writer.
- WriteDtdToFileCommand - Class in org.apache.ddlutils.task
-
Creates a DTD that specifies the layout for data XML files.
This sub task does not require a database connection, so the dataSource
sub element of the enclosing task can be omitted.
- WriteDtdToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteDtdToFileCommand
-
- 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.maxdb.MaxDbBuilder
-
Writes a single foreign key constraint using a alter table statement.
- writeExternalForeignKeyCreateStmt(Database, Table, ForeignKey) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Writes a single foreign key constraint using a alter table statement.
- writeExternalForeignKeyCreateStmt(Database, Table, ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes a single foreign key constraint using a alter table statement.
- writeExternalForeignKeyDropStmt(Table, ForeignKey) - Method in class org.apache.ddlutils.platform.maxdb.MaxDbBuilder
-
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.sapdb.SapDbBuilder
-
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.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.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.axion.AxionBuilder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.db2.Db2Builder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.derby.DerbyBuilder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.firebird.FirebirdBuilder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.interbase.InterbaseBuilder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.mssql.MSSqlBuilder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.oracle.Oracle8Builder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.postgresql.PostgreSqlBuilder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndexDropStmt(Table, Index) - Method in class org.apache.ddlutils.platform.sybase.SybaseBuilder
-
Generates the statement to drop a non-embedded index from the database.
- writeExternalIndicesCreateStmt(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes the indexes of the given table.
- writeExternalPrimaryKeysCreateStmt(Table, Column[]) - Method in class org.apache.ddlutils.platform.maxdb.MaxDbBuilder
-
Writes the primary key constraints of the table as alter table statements.
- writeExternalPrimaryKeysCreateStmt(Table, Column[]) - Method in class org.apache.ddlutils.platform.sapdb.SapDbBuilder
-
Writes the primary key constraints of the table as alter table statements.
- writeExternalPrimaryKeysCreateStmt(Table, Column[]) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes the primary key constraints of the table as alter table statements.
- writeForeignReferences(ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes a list of foreign references for the given foreign key.
- writeLocalReferences(ForeignKey) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes a list of local references for the given foreign key.
- writePrimaryKeyStmt(Table, Column[]) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes a primary key statement for the given columns.
- WriteSchemaSqlToFileCommand - Class in org.apache.ddlutils.task
-
Parses the schema XML files specified in the enclosing task, and writes the SQL statements
necessary to create this schema in the database, to a file.
- WriteSchemaSqlToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteSchemaSqlToFileCommand
-
- WriteSchemaToDatabaseCommand - Class in org.apache.ddlutils.task
-
Parses the schema XML files specified for the enclosing task, and creates the corresponding
schema in the database.
- WriteSchemaToDatabaseCommand() - Constructor for class org.apache.ddlutils.task.WriteSchemaToDatabaseCommand
-
- WriteSchemaToFileCommand - Class in org.apache.ddlutils.task
-
Reads the schema of the live database (as specified in the enclosing task), and writes
it as XML to a file.
- WriteSchemaToFileCommand() - Constructor for class org.apache.ddlutils.task.WriteSchemaToFileCommand
-
- writeTableAlterStmt(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Generates the first part of the ALTER TABLE statement including the
table name.
- writeTableComment(Table) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Outputs a comment for the table.
- writeTableCreationStmt(Database, Table, Map) - Method in class org.apache.ddlutils.platform.SqlBuilder
-
Writes the table creation statement without the statement end.
- writeTableCreationStmtEnding(Table, Map) - Method in class org.apache.ddlutils.platform.mysql.MySqlBuilder
-
Writes the end of the table creation statement.
- 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.sybase.SybaseBuilder
-
Writes the end of the table creation statement.