Package rife.database
package rife.database
Provides classes and interfaces for the object-oriented query builders,
database abstraction layer, persistence manager, query handling templates,
fault-tolerant JDBC wrappers and connection pooling.
- Since:
- 1.0
-
ClassDescriptionThis is a class designed for database connection pooling.Contains all the information required to connect to a database and centralizes the creation of connections to a database.Contains a collection of
Datasource
instances.DbBeanFetcher<BeanType>This class allows aResultSet
to be easily processed into bean instance.Represents one connection to a database.DbConnectionUser<ResultType,DataType> Provides a wrapper around the regular JDBCPreparedStatement
class.DbPreparedStatementHandler<DataType>By extending this class it's possible to easily customize the behaviour of a large number of methods in theDbQueryManager
class.This is a convenience class to make it easy to control the queries that handle the retrieval, storage, update and removal of data in a database.This class is a simple cache forDbQueryManager
objects.This class allows forDbQueryManager
s to be created more dynamically and with more features than by direct instantiation.By extending this class it's possible to easily customize the behaviour of some methods in theDbQueryManager
class.This abstract base class should be used to implement classes that process one row in a database query result set.Provides a wrapper around the regular JDBCStatement
class.DbTransactionUser<ResultType,DataType> By extending this class it's possible to provide the logic that should be executed by theinTransaction
method in theDbQueryManager
class.DbTransactionUserWithoutResult<DataType>Convenience class that offers the same facilities as theDbTransactionUser
class, but makes it easier to work with transactions that don't return any results.By implementing this class it's possible to easily customize the behaviour of a large number of methods in theDbQueryManager
class.This interface can be implemented to process one row in a database query result set.TransactionUser<ResultType>Internal class to handle virtual parameters of aDbPreparedStatement
.Internal interface that defines the methods that aVirtualParameters
handler has to support.