|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JDBCDataConnection | |
---|---|
org.jdesktop.dataset | The dataset package is the entrypoint to the DataSet API, and includes the major public classes for working with tabular data in JDNC, including disconnected SQL results. |
org.jdesktop.dataset.io.schema | |
org.jdesktop.dataset.provider.sql | |
org.jdesktop.dataset.util |
Uses of JDBCDataConnection in org.jdesktop.dataset |
---|
Methods in org.jdesktop.dataset with parameters of type JDBCDataConnection | |
---|---|
static DataSet |
DataSetUtils.createFromDatabaseSchema(JDBCDataConnection conn,
java.lang.String databaseName,
java.lang.String... names)
Deprecated. Replaced by DataSetUtility.readDataSetFromJDBC(JDBCDataConnection) |
Uses of JDBCDataConnection in org.jdesktop.dataset.io.schema |
---|
Constructors in org.jdesktop.dataset.io.schema with parameters of type JDBCDataConnection | |
---|---|
JDBCDataSetSchemaReader(JDBCDataConnection jdbcConn)
Instantiates a new JDBCDataSetSchemaReader for a JDBCDataConnection to a JDBC data source,
presumably a relational database, using the default catalog and schema as understood by the JDBC driver (e.g. |
|
JDBCDataSetSchemaReader(JDBCDataConnection jdbcConn,
java.lang.String catalog,
java.lang.String schema)
Instantiates a new JDBCDataSetSchemaReader , for a JDBCDataConnection to a JDBC data source,
presumably a relational database, for a given catalog and schema in that database. |
Uses of JDBCDataConnection in org.jdesktop.dataset.provider.sql |
---|
Methods in org.jdesktop.dataset.provider.sql with parameters of type JDBCDataConnection | |
---|---|
protected java.sql.PreparedStatement |
SQLCommand.createPreparedStatement(java.lang.String parameterizedSql,
JDBCDataConnection conn)
|
protected java.sql.PreparedStatement |
TableCommand.getDeleteStatement(JDBCDataConnection conn,
DataRow row)
|
protected java.sql.PreparedStatement |
SQLCommand.getDeleteStatement(JDBCDataConnection conn,
DataRow row)
|
protected abstract java.sql.PreparedStatement |
AbstractSqlCommand.getDeleteStatement(JDBCDataConnection conn,
DataRow row)
|
protected java.sql.PreparedStatement |
TableCommand.getInsertStatement(JDBCDataConnection conn,
DataRow row)
|
protected java.sql.PreparedStatement |
SQLCommand.getInsertStatement(JDBCDataConnection conn,
DataRow row)
|
protected abstract java.sql.PreparedStatement |
AbstractSqlCommand.getInsertStatement(JDBCDataConnection conn,
DataRow row)
|
protected java.sql.PreparedStatement |
TableCommand.getSelectStatement(JDBCDataConnection conn)
|
protected java.sql.PreparedStatement |
SQLCommand.getSelectStatement(JDBCDataConnection conn)
|
protected abstract java.sql.PreparedStatement |
AbstractSqlCommand.getSelectStatement(JDBCDataConnection conn)
|
protected java.sql.PreparedStatement |
TableCommand.getUpdateStatement(JDBCDataConnection conn,
DataRow row)
|
protected java.sql.PreparedStatement |
SQLCommand.getUpdateStatement(JDBCDataConnection conn,
DataRow row)
|
protected abstract java.sql.PreparedStatement |
AbstractSqlCommand.getUpdateStatement(JDBCDataConnection conn,
DataRow row)
|
protected java.sql.PreparedStatement |
AbstractSqlCommand.prepareStatement(java.lang.String sql,
java.util.Map<java.lang.String,java.lang.Object> values,
JDBCDataConnection conn)
Creates a PreparedStatement from a SQL statement, setting parameter values using the supplied Map of parameter names to values. |
Uses of JDBCDataConnection in org.jdesktop.dataset.util |
---|
Methods in org.jdesktop.dataset.util with parameters of type JDBCDataConnection | |
---|---|
static DataSet |
DataSetUtility.createDataSetSchema(JDBCDataConnection conn,
java.lang.String... names)
Creates a DataSet that contains a DataTable for each table that has been specified in the given names Set. |
static void |
DataSetUtility.createDataTableSchema(JDBCDataConnection jdbcConn,
DataSet ds,
java.lang.String tableName,
java.lang.String statement)
Creates a new DataTable in the specified DataSet that maps directly to one returned from a custom SELECT query. |
static void |
DataSetUtility.createRelations(JDBCDataConnection jdbcConn,
DataSet ds)
Creates any relations that exist between the tables in the given DataSet using the database metadata that can be retrieved using the given SQL Connection. |
static DataSet |
DataSetUtility.readDataSetFromJDBC(JDBCDataConnection jdbcConn)
Loads a DataSet schema from a JDBC data connection, using JDBC metadata, for all tables and relations declared in the schema. |
static DataSet |
DataSetUtility.readDataSetFromJDBC(JDBCDataConnection jdbcConn,
java.lang.String... tableNames)
Loads a DataSet schema from a JDBC data connection, using JDBC metadata, for the list of tables passed as an argument,
and their relations. |
static DataSet |
DataSetUtility.setProviderConnection(DataSet ds,
JDBCDataConnection conn)
Utility method that facilitates using a JDBCDataConnection
to set the connection for each DataProvider in each
DataTable contained in the DataSet . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |