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

Packages that use DBRowSet
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.exceptions This package contains classes for exception handling of database related errors. 
org.apache.empire.db.expr.column This package contains SQL-generator classes for column expressions. 
org.apache.empire.db.expr.join This package contains SQL-generator classes for join expressions used in the from clause. 
org.apache.empire.db.expr.set This package contains SQL-generator classes for set expressions used in the set clause. 
org.apache.empire.db.oracle This package contains classes necessary to support the Oracle database system. 
org.apache.empire.exceptions This package contains classes for exception handling of general errors. 
 

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

Constructors in org.apache.empire.data.bean with parameters of type DBRowSet
BeanResult(Class<T> clazz, DBRowSet rowset)
          Creates a bean result for a Table, View or Query from the supplied columns.
 

Uses of DBRowSet in org.apache.empire.db
 

Subclasses of DBRowSet in org.apache.empire.db
protected static class DBCommandExpr.DBCmdQuery
           
static class DBDatabaseDriver.DBSeqTable
          This class is used to emulate sequences by using a sequence table.
 class DBQuery
          This class can be used to wrap a query from a DBCommand and use it like a DBRowSet.
You may use this class for two purposes: In oder to define subqueries simply define a command object with the subquery and wrap it inside a DBQuery.
 class DBTable
          This class represent one table of the database.
 class DBView
          This class represents a database view.
 

Fields in org.apache.empire.db declared as DBRowSet
protected  DBRowSet DBColumn.rowset
           
 

Methods in org.apache.empire.db that return DBRowSet
static DBRowSet DBRowSet.findById(String rowsetId)
          returns a rowset by its identifier
 DBRowSet DBRecord.getRowSet()
          Returns the DBRowSet object.
 DBRowSet DBColumn.getRowSet()
          Returns DBTable, DBQuery or DBView object.
 DBRowSet DBDatabase.getRowSet(String name)
          Finds a DBRowSet object (DBTable or DBView) by name.
 

Methods in org.apache.empire.db that return types with arguments of type DBRowSet
protected  List<DBRowSet> DBCommand.getRowSetList()
          Gets a list of all tables referenced by the query.
 

Methods in org.apache.empire.db with parameters of type DBRowSet
 void DBRecord.create(DBRowSet table)
          Creates a new record for the given table.
All record fields will be filled with their default values.
The record's state is set to NEW
 void DBRecord.create(DBRowSet table, Connection conn)
          Creates a new record for the given table.
All record fields will be filled with their default values.
 boolean DBCommand.hasConstraintOn(DBRowSet rowset)
          Returns true if the command has a constraint on the given table or false otherwise.
 boolean DBCommand.hasJoinOn(DBRowSet rowset)
          Returns true if the command has a join on the given table or false otherwise.
 void DBRecord.init(DBRowSet table, Object[] keyValues, boolean insert)
          Initializes this record object by attaching it to a rowset, setting its primary key values and setting the record state.
This function is useful for updating a record without prior reading.
protected  void DBRecord.initData(DBRowSet rowset, Object rowSetData, boolean newRecord)
          This method is used internally by the RowSet to initialize the record's properties
 void DBReader.initRecord(DBRowSet rowset, DBRecord rec)
           initializes a DBRecord object with the values of the current row.
 DBJoinExpr DBCommand.join(DBRowSet rowset, DBCompareExpr cmp)
          Adds an inner join based on a compare expression to the command.
 DBJoinExpr DBCommand.join(DBRowSet rowset, DBCompareExpr cmp, DBJoinType joinType)
          Adds a join based on a compare expression to the command.
 void DBRecord.read(DBRowSet table, Object[] keys, Connection conn)
          Loads a record from the database identified by it's primary key.
 void DBRecord.read(DBRowSet table, Object id, Connection conn)
          Loads a record from the database identified by it's primary key.
 boolean DBCommand.removeJoinsOn(DBRowSet rowset)
          removes all joins to a given table or view
 

Constructors in org.apache.empire.db with parameters of type DBRowSet
DBColumn(DBRowSet rowset, String name)
          Constructs a DBColumn object and set the specified parameters to this object.
DBCommandExpr.DBCmdColumn(DBRowSet query, DBColumnExpr expr)
          Constructs a new DBCmdColumn object
DBRecord(DBRowSet initialRowset)
           
 

Uses of DBRowSet in org.apache.empire.db.exceptions
 

Constructors in org.apache.empire.db.exceptions with parameters of type DBRowSet
InvalidKeyException(DBRowSet rowset, Object[] key)
           
NoPrimaryKeyException(DBRowSet rowset)
           
RecordDeleteFailedException(DBRowSet rowset, Object[] key)
           
RecordNotFoundException(DBRowSet rowset, Object[] key)
           
RecordUpdateFailedException(DBRowSet rowset, Object[] key)
           
RecordUpdateInvalidException(DBRowSet rowset, Object[] key)
           
 

Uses of DBRowSet in org.apache.empire.db.expr.column
 

Constructors in org.apache.empire.db.expr.column with parameters of type DBRowSet
DBCountExpr(DBRowSet rowset)
          Constructs a DBCountExpr.
 

Uses of DBRowSet in org.apache.empire.db.expr.join
 

Methods in org.apache.empire.db.expr.join that return DBRowSet
 DBRowSet DBJoinExpr.getOuterTable()
          Returns the left table name if the data type= JOIN_LEFT and returns the right table if the data type= JOIN_RIGHT.
 

Methods in org.apache.empire.db.expr.join with parameters of type DBRowSet
 boolean DBJoinExpr.isJoinOn(DBRowSet rowset)
          returns true if this join is using the given table or view or false otherwise
 

Constructors in org.apache.empire.db.expr.join with parameters of type DBRowSet
DBJoinExprEx(DBRowSet rset, DBCompareExpr cmp, DBJoinType joinType)
          Constructs a new DBJoinExprEx
 

Uses of DBRowSet in org.apache.empire.db.expr.set
 

Methods in org.apache.empire.db.expr.set that return DBRowSet
 DBRowSet DBSetExpr.getTable()
          Returns the current Table object.
 

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

Subclasses of DBRowSet in org.apache.empire.db.oracle
static class OracleSYSDatabase.DBColComments
           
static class OracleSYSDatabase.DBColInfo
           
static class OracleSYSDatabase.DBConstraints
           
static class OracleSYSDatabase.DBTabComments
           
static class OracleSYSDatabase.DBUserConCol
           
 

Uses of DBRowSet in org.apache.empire.exceptions
 

Constructors in org.apache.empire.exceptions with parameters of type DBRowSet
BeanIncompatibleException(Class<?> clazz, DBRowSet rowset)
           
 



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