Uses of Class
org.apache.empire.db.DBCommand

Packages that use DBCommand
org.apache.empire.data.bean This package contains implmentations of Empire's data and metadata interfaces for JavaBeans of Data Tranfer Objects (DTO's). 
org.apache.empire.db This package contains the core Empire-DB implementation classes. 
org.apache.empire.db.derby This package contains classes necessary to support the Apache Derby database system. 
org.apache.empire.db.h2 This package contains classes necessary to support the H2 database system. 
org.apache.empire.db.hsql This package contains classes necessary to support the HSQLDB database system. 
org.apache.empire.db.mysql This package contains classes necessary to support the MySQL database system. 
org.apache.empire.db.oracle This package contains classes necessary to support the Oracle database system. 
org.apache.empire.db.postgresql This package contains classes necessary to support the PostgreSQL database system. 
org.apache.empire.db.sqlite   
org.apache.empire.db.sqlserver This package contains classes necessary to support the Microsoft SQL-Server database system. 
 

Uses of DBCommand in org.apache.empire.data.bean
 

Methods in org.apache.empire.data.bean that return DBCommand
 DBCommand BeanResult.getCommand()
           
 

Constructors in org.apache.empire.data.bean with parameters of type DBCommand
BeanResult(Class<T> clazz, DBCommand cmd)
          Create a bean result from a command object.
 

Uses of DBCommand in org.apache.empire.db
 

Fields in org.apache.empire.db declared as DBCommand
protected  DBCommand DBCmdParam.cmd
           
 

Methods in org.apache.empire.db that return DBCommand
 DBCommand DBCommand.clone()
          Creates a clone of this class.
 DBCommand DBDatabase.createCommand()
          Creates a new Command object for this database
abstract  DBCommand DBDatabaseDriver.createCommand(DBDatabase db)
          This function creates a DBCommand derived object this database
 

Methods in org.apache.empire.db with parameters of type DBCommand
protected  boolean DBQuery.addJoinRestriction(DBCommand upd, DBColumn updCol, DBColumn keyCol, DBColumn[] keyColumns, DBRecord rec)
          Adds join restrictions to the supplied command object.
 int DBDatabase.executeDelete(DBTable from, DBCommand cmd, Connection conn)
          Executes a Delete statement from a command object
 int DBDatabase.executeInsert(DBCommand cmd, Connection conn)
          Executes an Insert statement from a command object
 int DBDatabase.executeUpdate(DBCommand cmd, Connection conn)
          Executes an Update statement from a command object
 List<Object[]> DBDatabase.queryObjectList(DBCommand cmd, Connection conn)
          Returns the result of a query as a list Object-Arrays This function should only be used for small lists.
 int DBDatabase.queryObjectList(DBCommand cmd, Connection conn, Collection<Object[]> result)
          Adds the result of a query to a given collection.
The individual rows will be added as an array of objects (object[])
 Options DBDatabase.queryOptionList(DBCommand cmd, Connection conn)
          Returns a list of key value pairs from an sql query.
 int DBDatabase.queryOptionList(DBCommand cmd, Connection conn, Options result)
          Fills an option list provided with the result from a query.
<T> List<T>
DBDatabase.querySimpleList(Class<T> c, DBCommand cmd, Connection conn)
          Returns a one dimensional array from an sql query.
<T> int
DBDatabase.querySimpleList(Class<T> c, DBCommand cmd, Connection conn, Collection<T> result)
          Adds the first column of a query result to a collection.
 List<Object> DBDatabase.querySimpleList(DBCommand cmd, Connection conn)
          Returns a one dimensional array from an sql query.
 int DBDatabase.querySingleInt(DBCommand cmd, Connection conn)
          Returns the value of the first row/column of a sql-query as an int.
 int DBDatabase.querySingleInt(DBCommand cmd, int defaultValue, Connection conn)
          Returns the value of the first row/column of a sql-query as an int.
 long DBDatabase.querySingleLong(DBCommand cmd, Connection conn)
          Returns the value of the first row/column of a sql-query as a long.
 long DBDatabase.querySingleLong(DBCommand cmd, long defaultValue, Connection conn)
          Returns the value of the first row/column of a sql-query as a long.
 Object[] DBDatabase.querySingleRow(DBCommand cmd, Connection conn)
          Returns all values of the first row of a sql-query as an array.
 String DBDatabase.querySingleString(DBCommand cmd, Connection conn)
          Returns the value of the first row/column of a sql-query as a string.
 String DBDatabase.querySingleString(DBCommand cmd, String defaultValue, Connection conn)
          Returns the value of the first row/column of a sql-query as a string.
 Object DBDatabase.querySingleValue(DBCommand cmd, Connection conn)
          Returns the value of the first row/column of a sql-query as an object.
 Object DBDatabase.querySingleValue(DBCommand cmd, DataType dataType, Connection conn)
          Returns the value of the first row/column of a sql-query as an object.
protected  void DBRowSet.readRecord(DBRecord rec, DBCommand cmd, Connection conn)
          Reads a single record from the database using the given command object.
If a record is found the DBRecord object will hold all record data.
protected  void DBRowSet.setKeyConstraints(DBCommand cmd, Object[] key)
          Set the constraints for a single record from a supplied key
 

Constructors in org.apache.empire.db with parameters of type DBCommand
DBCmdParam(DBCommand cmd, DataType type, Object value)
          Protected constructor used e.g.
 

Uses of DBCommand in org.apache.empire.db.derby
 

Subclasses of DBCommand in org.apache.empire.db.derby
static class DBDatabaseDriverDerby.DBCommandDerby
          Defines the Derby command type.
 

Methods in org.apache.empire.db.derby that return DBCommand
 DBCommand DBDatabaseDriverDerby.createCommand(DBDatabase db)
          Creates a new Derby command object.
 

Uses of DBCommand in org.apache.empire.db.h2
 

Subclasses of DBCommand in org.apache.empire.db.h2
static class DBDatabaseDriverH2.DBCommandH2
          Defines the H2 command type.
 

Methods in org.apache.empire.db.h2 that return DBCommand
 DBCommand DBDatabaseDriverH2.createCommand(DBDatabase db)
          Creates a new H2 command object.
 

Uses of DBCommand in org.apache.empire.db.hsql
 

Subclasses of DBCommand in org.apache.empire.db.hsql
static class DBDatabaseDriverHSql.DBCommandHSql
          Defines the HSQLDB command type.
 

Methods in org.apache.empire.db.hsql that return DBCommand
 DBCommand DBDatabaseDriverHSql.createCommand(DBDatabase db)
          Creates a new HSQLDB command object.
 

Uses of DBCommand in org.apache.empire.db.mysql
 

Subclasses of DBCommand in org.apache.empire.db.mysql
static class DBDatabaseDriverMySQL.DBCommandMySQL
          Defines the MySQL command type.
 

Methods in org.apache.empire.db.mysql that return DBCommand
 DBCommand DBDatabaseDriverMySQL.createCommand(DBDatabase db)
          Creates a new MySQL command object.
 

Uses of DBCommand in org.apache.empire.db.oracle
 

Subclasses of DBCommand in org.apache.empire.db.oracle
 class DBCommandOracle
          This class handles the special features of an oracle database.
 

Methods in org.apache.empire.db.oracle that return DBCommand
 DBCommand DBDatabaseDriverOracle.createCommand(DBDatabase db)
          Creates a new Oracle command object.
 

Uses of DBCommand in org.apache.empire.db.postgresql
 

Subclasses of DBCommand in org.apache.empire.db.postgresql
static class DBDatabaseDriverPostgreSQL.DBCommandPostreSQL
          Defines the PostgreSQL command type.
 

Methods in org.apache.empire.db.postgresql that return DBCommand
 DBCommand DBDatabaseDriverPostgreSQL.createCommand(DBDatabase db)
          Creates a new PostgreSQL command object.
 

Uses of DBCommand in org.apache.empire.db.sqlite
 

Subclasses of DBCommand in org.apache.empire.db.sqlite
static class DBDatabaseDriverSQLite.DBCommandSQLite
          Defines the SQLite command type.
 

Methods in org.apache.empire.db.sqlite that return DBCommand
 DBCommand DBDatabaseDriverSQLite.createCommand(DBDatabase db)
          Creates a new SQLite command object.
 

Uses of DBCommand in org.apache.empire.db.sqlserver
 

Subclasses of DBCommand in org.apache.empire.db.sqlserver
static class DBDatabaseDriverMSSQL.DBCommandMSSQL
          Defines the Microsoft SQL-Server command type.
 

Methods in org.apache.empire.db.sqlserver that return DBCommand
 DBCommand DBDatabaseDriverMSSQL.createCommand(DBDatabase db)
          Creates a new Microsoft SQL-Server command object.
 



Copyright © 2008–2014 Apache Software Foundation. All rights reserved.