| Package | Description |
|---|---|
| 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.gemfirexd |
This package contains the platform implementation for the
GemFire GemFireXD 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. |
| Modifier and Type | Method and Description |
|---|---|
void |
Platform.alterModel(Connection connection,
Database currentModel,
Database desiredModel,
boolean continueOnError)
Alters the given live database model so that it match the desired model.
|
void |
Platform.alterModel(Connection connection,
Database currentModel,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the given live database model so that it match the desired model.
|
void |
Platform.alterModel(Database currentModel,
Database desiredModel,
boolean continueOnError)
Alters the given live database model so that it match the desired model, using the default database conneciton.
|
void |
Platform.alterModel(Database currentModel,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the given live database model so that it match the desired model, using the default database conneciton.
|
void |
Platform.alterTables(Connection connection,
Database desiredDb,
boolean continueOnError)
Deprecated.
Use
Platform.alterModel(Connection, Database, Database, boolean) together with
Platform.readModelFromDatabase(Connection, String) instead. |
void |
Platform.alterTables(Connection connection,
Database desiredDb,
CreationParameters params,
boolean continueOnError)
Deprecated.
|
void |
Platform.alterTables(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
boolean continueOnError)
Deprecated.
|
void |
Platform.alterTables(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
CreationParameters params,
boolean continueOnError)
Deprecated.
|
void |
Platform.alterTables(Database desiredDb,
boolean continueOnError)
Deprecated.
Use
Platform.alterModel(Database, Database, boolean) together with
Platform.readModelFromDatabase(String) instead. |
void |
Platform.alterTables(Database desiredDb,
CreationParameters params,
boolean continueOnError)
Deprecated.
Use
Platform.alterModel(Database, Database, CreationParameters, boolean) together with
Platform.readModelFromDatabase(String) instead. |
void |
Platform.alterTables(String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
boolean continueOnError)
Deprecated.
Use
Platform.alterModel(Database, Database, boolean) together with
Platform.readModelFromDatabase(String, String, String, String[]) instead. |
void |
Platform.alterTables(String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
CreationParameters params,
boolean continueOnError)
Deprecated.
|
Connection |
Platform.borrowConnection()
Returns a (new) JDBC connection from the data source.
|
void |
Platform.createDatabase(String jdbcDriverClassName,
String connectionUrl,
String username,
String password,
Map parameters)
Creates the database specified by the given parameters.
|
void |
Platform.createModel(Connection connection,
Database model,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
Platform.createModel(Connection connection,
Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
Platform.createModel(Database model,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
Platform.createModel(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
Platform.createTables(Connection connection,
Database model,
boolean dropTablesFirst,
boolean continueOnError)
Deprecated.
|
void |
Platform.createTables(Connection connection,
Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Deprecated.
|
void |
Platform.createTables(Database model,
boolean dropTablesFirst,
boolean continueOnError)
Deprecated.
Use
Platform.createModel(Database, boolean, boolean) instead. |
void |
Platform.createTables(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Deprecated.
|
void |
Platform.delete(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.
|
String |
PlatformUtils.determineDatabaseType(DataSource dataSource)
Tries to determine the database type for the given data source.
|
String |
PlatformUtils.determineDatabaseType(DataSource dataSource,
String username,
String password)
Tries to determine the database type for the given data source.
|
void |
Platform.dropDatabase(String jdbcDriverClassName,
String connectionUrl,
String username,
String password)
Drops the database specified by the given parameters.
|
void |
Platform.dropModel(Connection connection,
Database model,
boolean continueOnError)
Drops the given model.
|
void |
Platform.dropModel(Database model,
boolean continueOnError)
Drops the given model using the default database connection.
|
void |
Platform.dropTable(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(Connection connection,
Database model,
boolean continueOnError)
Deprecated.
Use
Platform.dropModel(Connection, Database, boolean) instead. |
void |
Platform.dropTables(Database model,
boolean continueOnError)
Deprecated.
Use
Platform.dropModel(Database, boolean) instead. |
int |
Platform.evaluateBatch(Connection connection,
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(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. |
List |
Platform.fetch(Database model,
String sql)
Queries for a list of dyna beans representing rows of the given query.
|
List |
Platform.fetch(Database model,
String sql,
Collection parameters)
Queries for a list of dyna beans representing rows of the given query.
|
List |
Platform.fetch(Database model,
String sql,
Collection parameters,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
List |
Platform.fetch(Database model,
String sql,
Collection parameters,
Table[] queryHints)
Queries for a list of dyna beans representing rows of the given query.
|
List |
Platform.fetch(Database model,
String sql,
Collection parameters,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
List |
Platform.fetch(Database model,
String sql,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
List |
Platform.fetch(Database model,
String sql,
Table[] queryHints)
Queries for a list of dyna beans representing rows of the given query.
|
List |
Platform.fetch(Database model,
String sql,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
String |
Platform.getAlterModelSql(Database currentModel,
Database desiredModel)
Returns the SQL for altering the given current model so that it match the desired model.
|
String |
Platform.getAlterModelSql(Database currentModel,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the given current model so that it match the desired model.
|
String |
Platform.getAlterTablesSql(Connection connection,
Database desiredDb)
Deprecated.
Use
Platform.getAlterModelSql(Database, Database) together with
Platform.readModelFromDatabase(Connection, String) instead. |
String |
Platform.getAlterTablesSql(Connection connection,
Database desiredDb,
CreationParameters params)
Deprecated.
|
String |
Platform.getAlterTablesSql(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredDb)
Deprecated.
|
String |
Platform.getAlterTablesSql(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
CreationParameters params)
Deprecated.
|
String |
Platform.getAlterTablesSql(Database desiredDb)
Deprecated.
Use
Platform.getAlterModelSql(Database, Database) together with
Platform.readModelFromDatabase(String) instead. |
String |
Platform.getAlterTablesSql(Database desiredDb,
CreationParameters params)
Deprecated.
Use
Platform.getAlterModelSql(Database, Database, CreationParameters) together with
Platform.readModelFromDatabase(String) instead. |
String |
Platform.getAlterTablesSql(String catalog,
String schema,
String[] tableTypes,
Database desiredDb)
Deprecated.
Use
Platform.getAlterModelSql(Database, Database) together with
Platform.readModelFromDatabase(String, String, String, String[]) instead. |
String |
Platform.getAlterTablesSql(String catalog,
String schema,
String[] tableTypes,
Database desiredDb,
CreationParameters params)
Deprecated.
|
void |
Platform.insert(Connection connection,
Database model,
Collection dynaBeans)
Inserts the given beans.
|
void |
Platform.insert(Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Inserts the bean.
|
void |
Platform.insert(Database model,
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.
|
Iterator |
Platform.query(Database model,
String sql)
Performs the given SQL query returning an iterator over the results.
|
Iterator |
Platform.query(Database model,
String sql,
Collection parameters)
Performs the given parameterized SQL query returning an iterator over the results.
|
Iterator |
Platform.query(Database model,
String sql,
Collection parameters,
Table[] queryHints)
Performs the given parameterized SQL query returning an iterator over the results.
|
Iterator |
Platform.query(Database model,
String sql,
Table[] queryHints)
Performs the given SQL query returning an iterator over the results.
|
Database |
Platform.readModelFromDatabase(Connection connection,
String name)
Reads the database model from the live database to which the given connection is pointing.
|
Database |
Platform.readModelFromDatabase(Connection connection,
String name,
String catalog,
String schema,
String[] tableTypes)
Reads the database model from the live database to which the given connection is pointing.
|
Database |
Platform.readModelFromDatabase(String name)
Reads the database model from the live database as specified by the data source set for
this platform.
|
Database |
Platform.readModelFromDatabase(String name,
String catalog,
String schema,
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(Connection connection)
Performs a shutdown at the database.
|
void |
Platform.store(Connection connection,
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.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(Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Updates the row which maps to the given bean.
|
void |
Platform.update(Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean oldDynaBean,
org.apache.commons.beanutils.DynaBean newDynaBean)
Updates the row identified by the given
oldDynaBean in the database with the
values in newDynaBean. |
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.
|
void |
Platform.update(Database model,
org.apache.commons.beanutils.DynaBean oldDynaBean,
org.apache.commons.beanutils.DynaBean newDynaBean)
Updates the row identified by the given
oldDynaBean in the database with the
values in newDynaBean. |
String |
Platform.writeAllDDLs(boolean exportAll)
Export all DDLs executed in the system as SQL strings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlatformImplBase.alterModel(Connection connection,
Database currentModel,
Database desiredModel,
boolean continueOnError)
Alters the given live database model so that it match the desired model.
|
void |
PlatformImplBase.alterModel(Connection connection,
Database currentModel,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the given live database model so that it match the desired model.
|
void |
PlatformImplBase.alterModel(Database currentModel,
Database desiredModel,
boolean continueOnError)
Alters the given live database model so that it match the desired model, using the default database conneciton.
|
void |
PlatformImplBase.alterModel(Database currentModel,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the given live database model so that it match the desired model, using the default database conneciton.
|
void |
PlatformImplBase.alterTables(Connection connection,
Database desiredModel,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(Connection connection,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredModel,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(Database desiredModel,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(String catalog,
String schema,
String[] tableTypes,
Database desiredModel,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.alterTables(String catalog,
String schema,
String[] tableTypes,
Database desiredModel,
CreationParameters params,
boolean continueOnError)
Alters the database schema so that it match the given model.
|
void |
PlatformImplBase.createDatabase(String jdbcDriverClassName,
String connectionUrl,
String username,
String password,
Map parameters)
Creates the database specified by the given parameters.
|
void |
PlatformImplBase.createModel(Connection connection,
Database model,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
PlatformImplBase.createModel(Connection connection,
Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
PlatformImplBase.createModel(Database model,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
PlatformImplBase.createModel(Database model,
CreationParameters params,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
PlatformImplBase.createTables(Connection connection,
Database model,
boolean dropTablesFirst,
boolean continueOnError)
Creates the tables defined in the database model.
|
void |
PlatformImplBase.createTables(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(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(String jdbcDriverClassName,
String connectionUrl,
String username,
String password)
Drops the database specified by the given parameters.
|
void |
PlatformImplBase.dropModel(Connection connection,
Database model,
boolean continueOnError)
Drops the given model.
|
void |
PlatformImplBase.dropModel(Database model,
boolean continueOnError)
Drops the given model using the default database connection.
|
void |
PlatformImplBase.dropTable(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(Connection connection,
Database model,
boolean continueOnError)
Drops the given model.
|
void |
PlatformImplBase.dropTables(Database model,
boolean continueOnError)
Drops the given model using the default database connection.
|
int |
PlatformImplBase.evaluateBatch(Connection connection,
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(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. |
List |
PlatformImplBase.fetch(Database model,
String sql)
Queries for a list of dyna beans representing rows of the given query.
|
List |
PlatformImplBase.fetch(Database model,
String sql,
Collection parameters)
Queries for a list of dyna beans representing rows of the given query.
|
List |
PlatformImplBase.fetch(Database model,
String sql,
Collection parameters,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
List |
PlatformImplBase.fetch(Database model,
String sql,
Collection parameters,
Table[] queryHints)
Queries for a list of dyna beans representing rows of the given query.
|
List |
PlatformImplBase.fetch(Database model,
String sql,
Collection parameters,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
List |
PlatformImplBase.fetch(Database model,
String sql,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
List |
PlatformImplBase.fetch(Database model,
String sql,
Table[] queryHints)
Queries for a list of dyna beans representing rows of the given query.
|
List |
PlatformImplBase.fetch(Database model,
String sql,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
String |
PlatformImplBase.getAlterModelSql(Database currentModel,
Database desiredModel)
Returns the SQL for altering the given current model so that it match the desired model.
|
String |
PlatformImplBase.getAlterModelSql(Database currentModel,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the given current model so that it match the desired model.
|
String |
PlatformImplBase.getAlterTablesSql(Connection connection,
Database desiredModel)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(Connection connection,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredModel)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(Connection connection,
String catalog,
String schema,
String[] tableTypes,
Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(Database desiredModel)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(Database desiredModel,
CreationParameters params)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(String catalog,
String schema,
String[] tableTypes,
Database desiredModel)
Returns the SQL for altering the database schema so that it match the given model.
|
String |
PlatformImplBase.getAlterTablesSql(String catalog,
String schema,
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(Connection connection,
Database model,
Collection dynaBeans)
Inserts the given beans.
|
void |
PlatformImplBase.insert(Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Inserts the bean.
|
void |
PlatformImplBase.insert(Database model,
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.
|
Object |
ModelBasedResultSetIterator.next() |
Iterator |
PlatformImplBase.query(Database model,
String sql)
Performs the given SQL query returning an iterator over the results.
|
Iterator |
PlatformImplBase.query(Database model,
String sql,
Collection parameters)
Performs the given parameterized SQL query returning an iterator over the results.
|
Iterator |
PlatformImplBase.query(Database model,
String sql,
Collection parameters,
Table[] queryHints)
Performs the given parameterized SQL query returning an iterator over the results.
|
Iterator |
PlatformImplBase.query(Database model,
String sql,
Table[] queryHints)
Performs the given SQL query returning an iterator over the results.
|
Database |
PlatformImplBase.readModelFromDatabase(Connection connection,
String name)
Reads the database model from the live database to which the given connection is pointing.
|
Database |
PlatformImplBase.readModelFromDatabase(Connection connection,
String name,
String catalog,
String schema,
String[] tableTypes)
Reads the database model from the live database to which the given connection is pointing.
|
Database |
PlatformImplBase.readModelFromDatabase(String name)
Reads the database model from the live database as specified by the data source set for
this platform.
|
Database |
PlatformImplBase.readModelFromDatabase(String name,
String catalog,
String schema,
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(Connection connection)
Performs a shutdown at the database.
|
void |
PlatformImplBase.store(Connection connection,
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.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(Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean dynaBean)
Updates the row which maps to the given bean.
|
void |
PlatformImplBase.update(Connection connection,
Database model,
org.apache.commons.beanutils.DynaBean oldDynaBean,
org.apache.commons.beanutils.DynaBean newDynaBean)
Updates the row identified by the given
oldDynaBean in the database with the
values in newDynaBean. |
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.
|
void |
PlatformImplBase.update(Database model,
org.apache.commons.beanutils.DynaBean oldDynaBean,
org.apache.commons.beanutils.DynaBean newDynaBean)
Updates the row identified by the given
oldDynaBean in the database with the
values in newDynaBean. |
String |
PlatformImplBase.writeAllDDLs(boolean exportAll)
Export all DDLs executed in the system as SQL strings.
|
| Constructor and Description |
|---|
ModelBasedResultSetIterator(PlatformImplBase platform,
Database model,
ResultSet resultSet,
Table[] queryHints,
boolean cleanUpAfterFinish)
Creates a new iterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AxionPlatform.createDatabase(String jdbcDriverClassName,
String connectionUrl,
String username,
String password,
Map parameters)
Creates the database specified by the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DerbyPlatform.createDatabase(String jdbcDriverClassName,
String connectionUrl,
String username,
String password,
Map parameters)
Creates the database specified by the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GemFireXDPlatform.createDatabase(String jdbcDriverClassName,
String connectionUrl,
String username,
String password,
Map parameters)
Creates the database specified by the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MckoiPlatform.createDatabase(String jdbcDriverClassName,
String connectionUrl,
String username,
String password,
Map parameters)
Creates the database specified by the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PostgreSqlPlatform.createDatabase(String jdbcDriverClassName,
String connectionUrl,
String username,
String password,
Map parameters)
Creates the database specified by the given parameters.
|
void |
PostgreSqlPlatform.dropDatabase(String jdbcDriverClassName,
String connectionUrl,
String username,
String password)
Drops the database specified by the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
SybasePlatform.extractColumnValue(ResultSet resultSet,
String columnName,
int columnIdx,
int jdbcType)
This is the core method to retrieve a value for a column from a result set.
|
List |
SybasePlatform.fetch(Database model,
String sql,
Collection parameters,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
List |
SybasePlatform.fetch(Database model,
String sql,
Table[] queryHints,
int start,
int end)
Queries for a list of dyna beans representing rows of the given query.
|
Iterator |
SybasePlatform.query(Database model,
String sql,
Collection parameters,
Table[] queryHints)
Performs the given parameterized SQL query returning an iterator over the results.
|
Iterator |
SybasePlatform.query(Database model,
String sql,
Table[] queryHints)
Performs the given SQL query returning an iterator over the results.
|
| Modifier and Type | Method and Description |
|---|---|
Connection |
JdbcSupport.borrowConnection()
Returns a (new) JDBC connection from the data source.
|
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.