|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DatabaseOperationException | |
---|---|
org.apache.ddlutils |
This package mainly contains the database platform abstraction, Platform
and the factory to create instances for individual platforms,
PlatformFactory . |
org.apache.ddlutils.platform | This package contains the platform implementations for the individual databases. |
org.apache.ddlutils.platform.axion | This package contains the platform implementation for the Axion database. |
org.apache.ddlutils.platform.derby | This package contains the platform implementation for the Apache Derby database. |
org.apache.ddlutils.platform.mckoi | This package contains the platform implementation for the Mckoi database. |
org.apache.ddlutils.platform.postgresql | This package contains the platform implementation for the PostgreSQL database. |
org.apache.ddlutils.platform.sybase | This package contains the platform implementation for the Sybase ASE database. |
org.apache.ddlutils.util |
The org.apache.ddlutils.util package contains utility classes of DdlUtils. |
Uses of DatabaseOperationException in org.apache.ddlutils |
---|
Methods in org.apache.ddlutils that throw DatabaseOperationException | |
---|---|
void |
Platform.alterTables(java.sql.Connection connection,
Database desiredDb,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
Platform.alterTables(java.sql.Connection connection,
Database desiredDb,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
Platform.alterTables(java.sql.Connection connection,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredDb,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
Platform.alterTables(java.sql.Connection connection,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredDb,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
Platform.alterTables(Database desiredDb,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
Platform.alterTables(Database desiredDb,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
Platform.alterTables(java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredDb,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
Platform.alterTables(java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredDb,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model. |
java.sql.Connection |
Platform.borrowConnection()
Returns a (new) JDBC connection from the data source. |
void |
Platform.createDatabase(java.lang.String jdbcDriverClassName,
java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
java.util.Map parameters)
Creates the database specified by the given parameters. |
void |
Platform.createTables(java.sql.Connection connection,
Database model,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model. |
void |
Platform.createTables(java.sql.Connection connection,
Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model. |
void |
Platform.createTables(Database model,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model. |
void |
Platform.createTables(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model. |
void |
Platform.delete(java.sql.Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Deletes the row which maps to the given bean from the database. |
void |
Platform.delete(Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Deletes the given bean from the database, assuming the primary key values are specified. |
java.lang.String |
PlatformUtils.determineDatabaseType(javax.sql.DataSource dataSource)
Tries to determine the database type for the given data source. |
java.lang.String |
PlatformUtils.determineDatabaseType(javax.sql.DataSource dataSource,
java.lang.String username,
java.lang.String password)
Tries to determine the database type for the given data source. |
void |
Platform.dropDatabase(java.lang.String jdbcDriverClassName,
java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password)
Drops the database specified by the given parameters. |
void |
Platform.dropTable(java.sql.Connection connection,
Database model,
Table table,
boolean continueOnError)
Drops the specified table and all foreign keys pointing to it. |
void |
Platform.dropTable(Database model,
Table table,
boolean continueOnError)
Drops the specified table and all foreign keys pointing to it. |
void |
Platform.dropTables(java.sql.Connection connection,
Database model,
boolean continueOnError)
Drops the tables defined in the given database. |
void |
Platform.dropTables(Database model,
boolean continueOnError)
Drops the tables defined in the given database. |
int |
Platform.evaluateBatch(java.sql.Connection connection,
java.lang.String sql,
boolean continueOnError)
Executes a series of sql statements which must be seperated by the delimiter configured as PlatformInfo.getSqlCommandDelimiter() of the info object
of this platform. |
int |
Platform.evaluateBatch(java.lang.String sql,
boolean continueOnError)
Executes a series of sql statements which must be seperated by the delimiter configured as PlatformInfo.getSqlCommandDelimiter() of the info object
of this platform. |
java.util.List |
Platform.fetch(Database model,
java.lang.String sql)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
Platform.fetch(Database model,
java.lang.String sql,
java.util.Collection parameters)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
Platform.fetch(Database model,
java.lang.String sql,
java.util.Collection parameters,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
Platform.fetch(Database model,
java.lang.String sql,
java.util.Collection parameters,
Table[] queryHints)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
Platform.fetch(Database model,
java.lang.String sql,
java.util.Collection parameters,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
Platform.fetch(Database model,
java.lang.String sql,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
Platform.fetch(Database model,
java.lang.String sql,
Table[] queryHints)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
Platform.fetch(Database model,
java.lang.String sql,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. |
java.lang.String |
Platform.getAlterTablesSql(java.sql.Connection connection,
Database desiredDb)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
Platform.getAlterTablesSql(java.sql.Connection connection,
Database desiredDb,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
Platform.getAlterTablesSql(java.sql.Connection connection,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredDb)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
Platform.getAlterTablesSql(java.sql.Connection connection,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredDb,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
Platform.getAlterTablesSql(Database desiredDb)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
Platform.getAlterTablesSql(Database desiredDb,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
Platform.getAlterTablesSql(java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredDb)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
Platform.getAlterTablesSql(java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredDb,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model. |
void |
Platform.insert(java.sql.Connection connection,
Database model,
java.util.Collection dynaBeans)
Inserts the given beans. |
void |
Platform.insert(java.sql.Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Inserts the bean. |
void |
Platform.insert(Database model,
java.util.Collection dynaBeans)
Inserts the given beans in the database, assuming the primary key values are specified. |
void |
Platform.insert(Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Inserts the given DynaBean in the database, assuming the primary key values are specified. |
java.util.Iterator |
Platform.query(Database model,
java.lang.String sql)
Performs the given SQL query returning an iterator over the results. |
java.util.Iterator |
Platform.query(Database model,
java.lang.String sql,
java.util.Collection parameters)
Performs the given parameterized SQL query returning an iterator over the results. |
java.util.Iterator |
Platform.query(Database model,
java.lang.String sql,
java.util.Collection parameters,
Table[] queryHints)
Performs the given parameterized SQL query returning an iterator over the results. |
java.util.Iterator |
Platform.query(Database model,
java.lang.String sql,
Table[] queryHints)
Performs the given SQL query returning an iterator over the results. |
Database |
Platform.readModelFromDatabase(java.sql.Connection connection,
java.lang.String name)
Reads the database model from the live database to which the given connection is pointing. |
Database |
Platform.readModelFromDatabase(java.sql.Connection connection,
java.lang.String name,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes)
Reads the database model from the live database to which the given connection is pointing. |
Database |
Platform.readModelFromDatabase(java.lang.String name)
Reads the database model from the live database as specified by the data source set for this platform. |
Database |
Platform.readModelFromDatabase(java.lang.String name,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes)
Reads the database model from the live database as specified by the data source set for this platform. |
void |
Platform.shutdownDatabase()
Performs a shutdown at the database. |
void |
Platform.shutdownDatabase(java.sql.Connection connection)
Performs a shutdown at the database. |
void |
Platform.store(Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Stores the given bean in the database, inserting it if there is no primary key otherwise the bean is updated in the database. |
void |
Platform.update(java.sql.Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Updates the row which maps to the given bean. |
void |
Platform.update(Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Updates the given bean in the database, assuming the primary key values are specified. |
Uses of DatabaseOperationException in org.apache.ddlutils.platform |
---|
Methods in org.apache.ddlutils.platform that throw DatabaseOperationException | |
---|---|
void |
PlatformImplBase.alterTables(java.sql.Connection connection,
Database desiredModel,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
PlatformImplBase.alterTables(java.sql.Connection connection,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
PlatformImplBase.alterTables(java.sql.Connection connection,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredModel,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
PlatformImplBase.alterTables(java.sql.Connection connection,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
PlatformImplBase.alterTables(Database desiredDb,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
PlatformImplBase.alterTables(Database desiredDb,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
PlatformImplBase.alterTables(java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredModel,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
PlatformImplBase.alterTables(java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model. |
void |
PlatformImplBase.createDatabase(java.lang.String jdbcDriverClassName,
java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
java.util.Map parameters)
Creates the database specified by the given parameters. |
void |
PlatformImplBase.createTables(java.sql.Connection connection,
Database model,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model. |
void |
PlatformImplBase.createTables(java.sql.Connection connection,
Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model. |
void |
PlatformImplBase.createTables(Database model,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model. |
void |
PlatformImplBase.createTables(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model. |
void |
PlatformImplBase.delete(java.sql.Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Deletes the row which maps to the given bean from the database. |
void |
PlatformImplBase.delete(Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Deletes the given bean from the database, assuming the primary key values are specified. |
void |
PlatformImplBase.dropDatabase(java.lang.String jdbcDriverClassName,
java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password)
Drops the database specified by the given parameters. |
void |
PlatformImplBase.dropTable(java.sql.Connection connection,
Database model,
Table table,
boolean continueOnError)
Drops the specified table and all foreign keys pointing to it. |
void |
PlatformImplBase.dropTable(Database model,
Table table,
boolean continueOnError)
Drops the specified table and all foreign keys pointing to it. |
void |
PlatformImplBase.dropTables(java.sql.Connection connection,
Database model,
boolean continueOnError)
Drops the tables defined in the given database. |
void |
PlatformImplBase.dropTables(Database model,
boolean continueOnError)
Drops the tables defined in the given database. |
int |
PlatformImplBase.evaluateBatch(java.sql.Connection connection,
java.lang.String sql,
boolean continueOnError)
Executes a series of sql statements which must be seperated by the delimiter configured as PlatformInfo.getSqlCommandDelimiter() of the info object
of this platform. |
int |
PlatformImplBase.evaluateBatch(java.lang.String sql,
boolean continueOnError)
Executes a series of sql statements which must be seperated by the delimiter configured as PlatformInfo.getSqlCommandDelimiter() of the info object
of this platform. |
java.util.List |
PlatformImplBase.fetch(Database model,
java.lang.String sql)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
PlatformImplBase.fetch(Database model,
java.lang.String sql,
java.util.Collection parameters)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
PlatformImplBase.fetch(Database model,
java.lang.String sql,
java.util.Collection parameters,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
PlatformImplBase.fetch(Database model,
java.lang.String sql,
java.util.Collection parameters,
Table[] queryHints)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
PlatformImplBase.fetch(Database model,
java.lang.String sql,
java.util.Collection parameters,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
PlatformImplBase.fetch(Database model,
java.lang.String sql,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
PlatformImplBase.fetch(Database model,
java.lang.String sql,
Table[] queryHints)
Queries for a list of dyna beans representing rows of the given query. |
java.util.List |
PlatformImplBase.fetch(Database model,
java.lang.String sql,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. |
java.lang.String |
PlatformImplBase.getAlterTablesSql(java.sql.Connection connection,
Database desiredModel)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
PlatformImplBase.getAlterTablesSql(java.sql.Connection connection,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
PlatformImplBase.getAlterTablesSql(java.sql.Connection connection,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredModel)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
PlatformImplBase.getAlterTablesSql(java.sql.Connection connection,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
PlatformImplBase.getAlterTablesSql(Database desiredDb)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
PlatformImplBase.getAlterTablesSql(Database desiredDb,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
PlatformImplBase.getAlterTablesSql(java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredModel)
Returns the SQL for altering the database schema so that it match the given model. |
java.lang.String |
PlatformImplBase.getAlterTablesSql(java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model. |
boolean |
ModelBasedResultSetIterator.hasNext()
|
void |
PlatformImplBase.insert(java.sql.Connection connection,
Database model,
java.util.Collection dynaBeans)
Inserts the given beans. |
void |
PlatformImplBase.insert(java.sql.Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Inserts the bean. |
void |
PlatformImplBase.insert(Database model,
java.util.Collection dynaBeans)
Inserts the given beans in the database, assuming the primary key values are specified. |
void |
PlatformImplBase.insert(Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Inserts the given DynaBean in the database, assuming the primary key values are specified. |
java.lang.Object |
ModelBasedResultSetIterator.next()
|
java.util.Iterator |
PlatformImplBase.query(Database model,
java.lang.String sql)
Performs the given SQL query returning an iterator over the results. |
java.util.Iterator |
PlatformImplBase.query(Database model,
java.lang.String sql,
java.util.Collection parameters)
Performs the given parameterized SQL query returning an iterator over the results. |
java.util.Iterator |
PlatformImplBase.query(Database model,
java.lang.String sql,
java.util.Collection parameters,
Table[] queryHints)
Performs the given parameterized SQL query returning an iterator over the results. |
java.util.Iterator |
PlatformImplBase.query(Database model,
java.lang.String sql,
Table[] queryHints)
Performs the given SQL query returning an iterator over the results. |
Database |
PlatformImplBase.readModelFromDatabase(java.sql.Connection connection,
java.lang.String name)
Reads the database model from the live database to which the given connection is pointing. |
Database |
PlatformImplBase.readModelFromDatabase(java.sql.Connection connection,
java.lang.String name,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes)
Reads the database model from the live database to which the given connection is pointing. |
Database |
PlatformImplBase.readModelFromDatabase(java.lang.String name)
Reads the database model from the live database as specified by the data source set for this platform. |
Database |
PlatformImplBase.readModelFromDatabase(java.lang.String name,
java.lang.String catalog,
java.lang.String schema,
java.lang.String[] tableTypes)
Reads the database model from the live database as specified by the data source set for this platform. |
void |
ModelBasedResultSetIterator.remove()
|
void |
PlatformImplBase.shutdownDatabase()
Performs a shutdown at the database. |
void |
PlatformImplBase.shutdownDatabase(java.sql.Connection connection)
Performs a shutdown at the database. |
void |
PlatformImplBase.store(Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Stores the given bean in the database, inserting it if there is no primary key otherwise the bean is updated in the database. |
void |
PlatformImplBase.update(java.sql.Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Updates the row which maps to the given bean. |
void |
PlatformImplBase.update(Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Updates the given bean in the database, assuming the primary key values are specified. |
Constructors in org.apache.ddlutils.platform that throw DatabaseOperationException | |
---|---|
ModelBasedResultSetIterator(PlatformImplBase platform,
Database model,
java.sql.ResultSet resultSet,
Table[] queryHints,
boolean cleanUpAfterFinish)
Creates a new iterator. |
Uses of DatabaseOperationException in org.apache.ddlutils.platform.axion |
---|
Methods in org.apache.ddlutils.platform.axion that throw DatabaseOperationException | |
---|---|
void |
AxionPlatform.createDatabase(java.lang.String jdbcDriverClassName,
java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
java.util.Map parameters)
Creates the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to
retrieve the connection information from it without establishing a connection.The given connection url is the url that you'd use to connect to the already-created database. On some platforms, this method suppurts additional parameters. These are documented in the manual section for the individual platforms. |
Uses of DatabaseOperationException in org.apache.ddlutils.platform.derby |
---|
Methods in org.apache.ddlutils.platform.derby that throw DatabaseOperationException | |
---|---|
void |
DerbyPlatform.createDatabase(java.lang.String jdbcDriverClassName,
java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
java.util.Map parameters)
Creates the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to
retrieve the connection information from it without establishing a connection.The given connection url is the url that you'd use to connect to the already-created database. On some platforms, this method suppurts additional parameters. These are documented in the manual section for the individual platforms. |
Uses of DatabaseOperationException in org.apache.ddlutils.platform.mckoi |
---|
Methods in org.apache.ddlutils.platform.mckoi that throw DatabaseOperationException | |
---|---|
void |
MckoiPlatform.createDatabase(java.lang.String jdbcDriverClassName,
java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
java.util.Map parameters)
Creates the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to
retrieve the connection information from it without establishing a connection.The given connection url is the url that you'd use to connect to the already-created database. On some platforms, this method suppurts additional parameters. These are documented in the manual section for the individual platforms. |
Uses of DatabaseOperationException in org.apache.ddlutils.platform.postgresql |
---|
Methods in org.apache.ddlutils.platform.postgresql that throw DatabaseOperationException | |
---|---|
void |
PostgreSqlPlatform.createDatabase(java.lang.String jdbcDriverClassName,
java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password,
java.util.Map parameters)
Creates the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to
retrieve the connection information from it without establishing a connection.The given connection url is the url that you'd use to connect to the already-created database. On some platforms, this method suppurts additional parameters. These are documented in the manual section for the individual platforms. |
void |
PostgreSqlPlatform.dropDatabase(java.lang.String jdbcDriverClassName,
java.lang.String connectionUrl,
java.lang.String username,
java.lang.String password)
Drops the database specified by the given parameters. Please note that this method does not use a data source set via Platform.setDataSource(DataSource) because it is not possible to
retrieve the connection information from it without establishing a connection. |
Uses of DatabaseOperationException in org.apache.ddlutils.platform.sybase |
---|
Methods in org.apache.ddlutils.platform.sybase that throw DatabaseOperationException | |
---|---|
protected java.lang.Object |
SybasePlatform.extractColumnValue(java.sql.ResultSet resultSet,
java.lang.String columnName,
int columnIdx,
int jdbcType)
This is the core method to retrieve a value for a column from a result set. |
java.util.List |
SybasePlatform.fetch(Database model,
java.lang.String sql,
java.util.Collection parameters,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String, Collection, Table[])
method all beans will be materialized and the connection will be closed
before returning the beans. Also, the two int parameters specify which
rows of the result set to use. If there are more rows than desired, they
will be ignored (and not read from the database). |
java.util.List |
SybasePlatform.fetch(Database model,
java.lang.String sql,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query. In contrast to the Platform.query(Database, String, Table[]) method all
beans will be materialized and the connection will be closed before
returning the beans. Also, the two int parameters specify which rows of
the result set to use. If there are more rows than desired, they will be
ignored (and not read from the database). |
java.util.Iterator |
SybasePlatform.query(Database model,
java.lang.String sql,
java.util.Collection parameters,
Table[] queryHints)
Performs the given parameterized SQL query returning an iterator over the results. |
java.util.Iterator |
SybasePlatform.query(Database model,
java.lang.String sql,
Table[] queryHints)
Performs the given SQL query returning an iterator over the results. |
Uses of DatabaseOperationException in org.apache.ddlutils.util |
---|
Methods in org.apache.ddlutils.util that throw DatabaseOperationException | |
---|---|
java.sql.Connection |
JdbcSupport.borrowConnection()
Returns a (new) JDBC connection from the data source. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |