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

Packages that use DBDatabase
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.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.compare This package contains SQL-generator classes for compare expressions used in the where and having clause. 
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.order   
org.apache.empire.db.expr.set This package contains SQL-generator classes for set expressions used in the set clause. 
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 DBDatabase in org.apache.empire.db
 

Fields in org.apache.empire.db declared as DBDatabase
protected  DBDatabase DBRowSet.db
           
 

Methods in org.apache.empire.db that return DBDatabase
static DBDatabase DBDatabase.findByClass(Class<? extends DBDatabase> cls)
          find a database by id
static DBDatabase DBDatabase.findById(String dbIdent)
          find a database by id
 DBDatabase DBRowSet.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBDatabase.getDatabase()
           
 DBDatabase DBCombinedCmd.getDatabase()
          Returns the current DBDatabase object.
abstract  DBDatabase DBObject.getDatabase()
          Returns the database object to which this object belongs to.
 DBDatabase DBRelation.getDatabase()
           
 DBDatabase DBIndex.getDatabase()
           
 DBDatabase DBReader.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBCmdParam.getDatabase()
           
 DBDatabase DBRecord.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBExpressionIndex.getDatabase()
           
 DBDatabase DBCommand.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBColumn.getDatabase()
           
 

Methods in org.apache.empire.db with parameters of type DBDatabase
protected  void DBDatabaseDriver.attachDatabase(DBDatabase db, Connection conn)
          Called when a database is opened
 void DBDatabaseDriver.checkDatabase(DBDatabase db, String owner, Connection conn)
          Checks the database whether or not it is consistent with the description.
abstract  DBCommand DBDatabaseDriver.createCommand(DBDatabase db)
          This function creates a DBCommand derived object this database
protected  void DBDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script)
          Appends the DDL-Script for creating the given database to an SQL-Script
This includes the generation of all tables, views and relations.
protected  void DBDatabaseDriver.detachDatabase(DBDatabase db, Connection conn)
          Called when a database is closed
protected  void DBDDLGenerator.dropDatabase(DBDatabase db, DBSQLScript script)
          Appends the DDL-Script for dropping a database to the given script object
 Object DBDatabaseDriver.getColumnAutoValue(DBDatabase db, DBTableColumn column, Connection conn)
          Returns an auto-generated value for a particular column
abstract  Object DBDatabaseDriver.getNextSequenceValue(DBDatabase db, String SeqName, int minValue, Connection conn)
          Returns the next value of a named sequence The numbers are used for fields of type DBExpr.DT_AUTOINC.
If a driver supports this function it must return true for isSupported(DBDriverFeature.SEQUENCES).
 

Method parameters in org.apache.empire.db with type arguments of type DBDatabase
static DBDatabase DBDatabase.findByClass(Class<? extends DBDatabase> cls)
          find a database by id
 

Constructors in org.apache.empire.db with parameters of type DBDatabase
DBCommand(DBDatabase db)
          Constructs a new DBCommand object and set the specified DBDatabase object.
DBDatabaseDriver.DBSeqTable(String tableName, DBDatabase db)
          Constructor
DBRelation(DBDatabase db, String name, DBRelation.DBReference[] references)
          Creates a DBRelation object for a foreing key relation.
DBRelation(DBDatabase db, String name, DBRelation.DBReference[] references, DBRelation.DBCascadeAction onDeleteAction)
          Creates a DBRelation object for a foreing key relation.
DBRowSet(DBDatabase db)
          Constructs a DBRecord object set the current database object.
DBTable(String name, DBDatabase db)
          Construct a new DBTable object set the specified parameters to this object and add this object to the current database.
DBView(String name, DBDatabase db)
          Creates a view object for a given view in the database.
DBView(String name, DBDatabase db, boolean isUpdateable)
          Creates a view object for a given view in the database.
 

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

Methods in org.apache.empire.db.derby with parameters of type DBDatabase
 DBCommand DBDatabaseDriverDerby.createCommand(DBDatabase db)
          Creates a new Derby command object.
 Object DBDatabaseDriverDerby.getNextSequenceValue(DBDatabase db, String seqName, int minValue, Connection conn)
           
 

Constructors in org.apache.empire.db.derby with parameters of type DBDatabase
DBDatabaseDriverDerby.DBCommandDerby(DBDatabase db)
           
 

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

Constructors in org.apache.empire.db.exceptions with parameters of type DBDatabase
DatabaseNotOpenException(DBDatabase db)
           
 

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

Fields in org.apache.empire.db.expr.column declared as DBDatabase
 DBDatabase DBValueExpr.db
           
 

Methods in org.apache.empire.db.expr.column that return DBDatabase
 DBDatabase DBCountExpr.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBAliasExpr.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBConcatExpr.getDatabase()
           
 DBDatabase DBCaseExpr.getDatabase()
           
 DBDatabase DBCalcExpr.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBValueExpr.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBAbstractFuncExpr.getDatabase()
          Returns the current DBDatabase object.
 

Constructors in org.apache.empire.db.expr.column with parameters of type DBDatabase
DBValueExpr(DBDatabase db, Object value, DataType type)
          Constructs a new DBValueExpr object.
 

Uses of DBDatabase in org.apache.empire.db.expr.compare
 

Methods in org.apache.empire.db.expr.compare that return DBDatabase
 DBDatabase DBExistsExpr.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBCompareColExpr.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBCompareNotExpr.getDatabase()
          Returns the current DBDatabase object.
 DBDatabase DBParenthesisExpr.getDatabase()
           
 DBDatabase DBCompareAndOrExpr.getDatabase()
          Returns the current DBDatabase object.
 

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

Methods in org.apache.empire.db.expr.join that return DBDatabase
 DBDatabase DBJoinExpr.getDatabase()
          Returns the current DBDatabase object.
 

Uses of DBDatabase in org.apache.empire.db.expr.order
 

Methods in org.apache.empire.db.expr.order that return DBDatabase
 DBDatabase DBOrderByExpr.getDatabase()
           
 

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

Methods in org.apache.empire.db.expr.set that return DBDatabase
 DBDatabase DBSetExpr.getDatabase()
          Returns the current DBDatabase object.
 

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

Methods in org.apache.empire.db.h2 with parameters of type DBDatabase
 DBCommand DBDatabaseDriverH2.createCommand(DBDatabase db)
          Creates a new H2 command object.
 Object DBDatabaseDriverH2.getNextSequenceValue(DBDatabase db, String seqName, int minValue, Connection conn)
           
 

Constructors in org.apache.empire.db.h2 with parameters of type DBDatabase
DBDatabaseDriverH2.DBCommandH2(DBDatabase db)
           
 

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

Methods in org.apache.empire.db.hsql with parameters of type DBDatabase
 DBCommand DBDatabaseDriverHSql.createCommand(DBDatabase db)
          Creates a new HSQLDB command object.
protected  void HSqlDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script)
           
protected  void HSqlDDLGenerator.createSequence(DBDatabase db, DBTableColumn c, DBSQLScript script)
          Appends the DDL-Script for creating a sequence to an SQL-Script
 Object DBDatabaseDriverHSql.getNextSequenceValue(DBDatabase db, String seqName, int minValue, Connection conn)
           
 

Constructors in org.apache.empire.db.hsql with parameters of type DBDatabase
DBDatabaseDriverHSql.DBCommandHSql(DBDatabase db)
           
 

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

Methods in org.apache.empire.db.mysql with parameters of type DBDatabase
 void DBDatabaseDriverMySQL.attachDatabase(DBDatabase db, Connection conn)
           
 DBCommand DBDatabaseDriverMySQL.createCommand(DBDatabase db)
          Creates a new MySQL command object.
protected  void MySQLDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script)
           
 Object DBDatabaseDriverMySQL.getNextSequenceValue(DBDatabase db, String seqName, int minValue, Connection conn)
           
 

Constructors in org.apache.empire.db.mysql with parameters of type DBDatabase
DBDatabaseDriverMySQL.DBCommandMySQL(DBDatabase db)
           
 

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

Subclasses of DBDatabase in org.apache.empire.db.oracle
 class OracleSYSDatabase
          Represents the data model of the system tables.
 

Fields in org.apache.empire.db.oracle declared as DBDatabase
 DBDatabase OracleRowNumExpr.db
           
 

Methods in org.apache.empire.db.oracle that return DBDatabase
 DBDatabase OracleRowNumExpr.getDatabase()
          Returns the current DBDatabase object.
 

Methods in org.apache.empire.db.oracle with parameters of type DBDatabase
 void DBDatabaseDriverOracle.checkDatabase(DBDatabase db, String owner, Connection conn)
          Checks whether the database definition matches the real database structure.
 DBCommand DBDatabaseDriverOracle.createCommand(DBDatabase db)
          Creates a new Oracle command object.
protected  void OracleDDLGenerator.createComment(DBDatabase db, String type, DBExpr expr, String comment, DBSQLScript script)
           
protected  void OracleDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script)
           
protected  void OracleDDLGenerator.createSequence(DBDatabase db, DBTableColumn c, DBSQLScript script)
          Returns true if the sequence has been created successfully.
protected  void OracleDDLGenerator.dropDatabase(DBDatabase db, DBSQLScript script)
           
 Object DBDatabaseDriverOracle.getNextSequenceValue(DBDatabase db, String seqName, int minValue, Connection conn)
           
 

Constructors in org.apache.empire.db.oracle with parameters of type DBDatabase
DBCommandOracle(DBDatabase db)
          Constructs an oracle command object.
OracleRowNumExpr(DBDatabase db)
          Constructs a new OracleRowNumExpr object.
OracleSYSDatabase.DBColComments(DBDatabase db)
           
OracleSYSDatabase.DBColInfo(DBDatabase db)
           
OracleSYSDatabase.DBConstraints(DBDatabase db)
           
OracleSYSDatabase.DBTabComments(DBDatabase db)
           
OracleSYSDatabase.DBUserConCol(DBDatabase db)
           
 

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

Methods in org.apache.empire.db.postgresql with parameters of type DBDatabase
 DBCommand DBDatabaseDriverPostgreSQL.createCommand(DBDatabase db)
          Creates a new PostgreSQL command object.
protected  void PostgreDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script)
           
protected  void PostgreDDLGenerator.createSequence(DBDatabase db, DBTableColumn c, DBSQLScript script)
          Appends the DDL-Script for creating a sequence to an SQL-Script
 Object DBDatabaseDriverPostgreSQL.getNextSequenceValue(DBDatabase db, String seqName, int minValue, Connection conn)
           
 

Constructors in org.apache.empire.db.postgresql with parameters of type DBDatabase
DBDatabaseDriverPostgreSQL.DBCommandPostreSQL(DBDatabase db)
           
 

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

Methods in org.apache.empire.db.sqlite with parameters of type DBDatabase
 DBCommand DBDatabaseDriverSQLite.createCommand(DBDatabase db)
          Creates a new SQLite command object.
 Object DBDatabaseDriverSQLite.getNextSequenceValue(DBDatabase db, String SeqName, int minValue, Connection conn)
           
 

Constructors in org.apache.empire.db.sqlite with parameters of type DBDatabase
DBDatabaseDriverSQLite.DBCommandSQLite(DBDatabase db)
           
 

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

Methods in org.apache.empire.db.sqlserver with parameters of type DBDatabase
 void DBDatabaseDriverMSSQL.attachDatabase(DBDatabase db, Connection conn)
          Called when a database is opened
 DBCommand DBDatabaseDriverMSSQL.createCommand(DBDatabase db)
          Creates a new Microsoft SQL-Server command object.
protected  void MSSqlDDLGenerator.createDatabase(DBDatabase db, DBSQLScript script)
           
 Object DBDatabaseDriverMSSQL.getColumnAutoValue(DBDatabase db, DBTableColumn column, Connection conn)
          Returns an auto-generated value for a particular column
 Object DBDatabaseDriverMSSQL.getNextSequenceValue(DBDatabase db, String seqName, int minValue, Connection conn)
           
 

Constructors in org.apache.empire.db.sqlserver with parameters of type DBDatabase
DBDatabaseDriverMSSQL.DBCommandMSSQL(DBDatabase db)
           
 



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