Package | Description |
---|---|
org.apache.empire.db |
This package contains the core Empire-DB implementation classes.
|
org.apache.empire.db.generic |
Modifier and Type | Class and Description |
---|---|
class |
DBReader
This class is used to perform database queries from a DBCommand object and access the results.
|
class |
DBRecord
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.
|
class |
DBRecordBase
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.
|
class |
DBRecordBean
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
|
class |
DBRecordData
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.
|
class |
DBSQLScript
DBSQLScript
This class is a collection of sql command strings. |
class |
DBUtils
DBUtils
This class provides various query functions and functions for command execution.
|
Modifier and Type | Class and Description |
---|---|
class |
TRecord<CTX extends DBContext,T extends DBRowSet> |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.