Package org.apache.empire.db


package org.apache.empire.db
This package contains the core Empire-DB implementation classes.
  • Class
    Description
    This class allocates methods to store binary large objects in the database.
    This class allocates methods to store binary character objects in the database.
    This class defines a parameter for a prepared statement query.
    DBCmdParamList This class handles command parameters for Prepared Statements
    DBCmdParams Provides information about the command parameters used in a DBCommand
    This enum allocates the available compare types.
    This is the base class for all database columns that have a physical representation.
    This class is the base class for all expressions that represent a single value.
    This class is used for combining two DBCommandExpr objects to a new single DBCommandExpr This may be used to create "UNION" or "INTERSECT" queries
    This abstract class handles the creation of the SQL-Commands.
    This abstract class handles the creation of the SQL-Commands.
    This class wraps a column of sql command in a special command column object.
     
    DBContext A context is required for every database operation
    This abstract class is the applicaton's interface for a particular database schema.
    This class represents the database systems current date and time.
     
    DDLActionType for DDLScript generation
    This abstract class is the base class for all database expression classes (e.g.
    This class allows to create an expression based index
    DBGeneratedValue Abstract base class for Auto generated values
    DBFuncGeneratedValue Auto-generates a record value from other record fields The template must contain the column names wrapped in square brackets like e.g.
    DBTriggerGeneratedValue Value is generated by Trigger
    This class handles the primary key for the tables.
     
    DBJoinType contains the possibilities to join two database tables.
    DBMaterializedView This interface should be used in conjunction with a DBView to indicate that the view is materialized
    Base class for all objects that directly or indirectly belong to a database including the database object itself.
    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.
     
    This class is used to perform database queries from a DBCommand object and access the results.
    In oder to perform a query call the open() function or - for single row queries - call getRecordData();
    You can iterate through the rows using moveNext() or an iterator.
    This class represents a record from a database table, view or query The class provides methods to create, read, update and delete records If an Idendity-column (AUTOINC) is defined, the value will be set upon creation by the dbms to the next value If a Timestamp-column is defined the value will be automatically set and concurrent changes of the record will be detected If changes to the record are made, but a rollback on the connection is performed, the changes will be reverted (Rollback-Handling) The record is Serializable either if the provided DBContext is serializable, or if the Context is provided on deserialization in a derived class.
    This abstract class provides write access to the fields of a record The class provides methods that are useful for frontend-form development like - providing information about the allowed values for a field (field options) - providing information about whether or not a field is visible to the user - providing information about whether or not a field is required (mandantory) - providing information about whether or not a field is read-only - providing information about whether a particular field value is valid - providing information about whether a field was modified since it was read from the database - providing information about whether the record was modified Also, field value changes, can be handled using the onFieldChanged event.
    DBRecordRollbackHandler
     
    This class represents a record from a database table, view or query Other than DBRecord it is not permanently attached to a context or rowset Thus it has a Default constructor and is essentially a dynamic bean
    This class provides access to the fields of one data-row of a table, view or query The fields can be accessed either by Column or by index There are various accessor functions for many data types.
    This class creates a DBReferene object for a foreing key relation.
    DBCascadeAction enum
     
    This class is the base class for all the DBTable, DBView and DBQuery classes this class contains all the columns of the tables, views or queries
     
     
    DBSQLBuilder This class is used for building a single SQL statement
    DBSQLScript
    This class is a collection of sql command strings.
    The class is used for obtaining and executing DDL commands supplied by the database dbms (@see DBMSHandler.getDDLScript(DDLActionType, DBObject, DBSQLScript))
    SQLCmd
    This class represent one table of the database.
    This class represent one column of a table.
    DBUtils This class provides various query functions and functions for command execution.
    This class represents a database view.
    DBViewColumn
    This class is used to configure XML generation as performed by the getXmlDocument Document function on DBReader and DBRecord.