com.uwyn.rife.database |
Provides classes and interfaces for the object-oriented query builders, database abstraction layer, persistance manager, query handling templates, fault-tolerant JDBC wrappers and connection pooling.
Related Documentation
For overviews, tutorials, examples, guides, and documentation, please see:
|
Java Source File Name | Type | Comment |
BeanErrorImpl.java | Class | |
BeanImpl.java | Class | |
BeanImplConstrained.java | Class | |
ConnectionPool.java | Class | This is a class designed for database connection pooling. |
ConstrainedClass.java | Class | |
Datasource.java | Class | Contains all the information required to connect to a database and
centralizes the creation of connections to a database. |
Datasources.java | Class | Contains a collection of Datasource instances that have been
created from an XML definition. |
DbBeanFetcher.java | Class | This class allows a
ResultSet to be easily processed into bean
instance.
Multiple instances can be collected into a list when processing an
entire
ResultSet , or as a single bean instance can be retrieved for
one row of a
ResultSet . |
DbConnection.java | Class | Represents one connection to a database. |
DbConnectionUser.java | Class | |
DbPreparedStatement.java | Class | Provides a wrapper around the regular JDBC PreparedStatement
class. |
DbPreparedStatementHandler.java | Class | By extending this class it's possible to easily customize the behaviour of
a large number of methods in the
DbQueryManager class.
You're able to set the parameters of a
DbPreparedStatement before the actual execution of any logic by overriding the
DbPreparedStatementHandler.setParameters(DbPreparedStatement) setParameters method.
If you need to customize the entire query execution, you can override
the
DbPreparedStatementHandler.performUpdate(DbPreparedStatement) performUpdate and
DbPreparedStatementHandler.performQuery(DbPreparedStatement) performQuery methods. |
DbProbeExecutor.java | Class | Periodic probe job to keep connections non-idle and probe for dead ones.
This is primarily useful for MySQL, which closes connections after a
period of inactivity.
This should be run using a scheduler participant. |
DbQueryManager.java | 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.
All queries will be executed in a connection of the Datasource
that's provided to the constructor of the DbQueryManager .
A collection of convenience methods have been provided to quickly
execute queries in a variety of manners without having to worry about the
logic behind it or having to remember to close the queries at the
appropriate moment. |
DbQueryManagerCache.java | Class | This class is a simple cache for
DbQueryManager objects. |
DbQueryManagerFactory.java | Class | This class allows for
DbQueryManager s to be created more
dynamically and with more features than by direct instantiation.
By using the DbQueryManagerFactory ,
DbQueryManager child classes can have custom methods that are
implemented by different "drivers", based on the database software behind
the
Datasource . |
DbResultSet.java | Class | |
DbResultSet30.java | Class | |
DbResultSet40.java | Class | |
DbResultSetHandler.java | Class | By extending this class it's possible to easily customize the behaviour of
some methods in the
DbQueryManager class. |
DbRowProcessor.java | Class | This abstract base class should be used to implement classes that process one
row in a database query resulset. |
DbStatement.java | Class | Provides a wrapper around the regular JDBC Statement class. |
DbTransactionUser.java | Class | By extending this class it's possible to provide the logic that should be
executed by the
DbQueryManager.inTransaction(DbTransactionUser) inTransaction method in the
DbQueryManager class.
This class has both a default constructor and one that can take a data
object. |
DbTransactionUserWithoutResult.java | Class | Convenience class that offers the same facilities as the
DbTransactionUser class, but makes it easier to work with
transactions that don't return any results. |
NotConstrainedClass.java | Class | |
SomeEnum.java | enum | |
TestCapabilities.java | Class | |
TestDatasource.java | Class | |
TestDatasources.java | Class | |
TestDbBeanFetcher.java | Class | |
TestDbConcurrency.java | Class | |
TestDbConnection.java | Class | |
TestDbPreparedStatement.java | Class | |
TestDbQueryManager.java | Class | |
TestDbQueryManagerFactory.java | Class | |
TestDbQueryManagerFactoryImpl.java | Class | |
TestDbQueryManagerImpl.java | Class | |
TestDbStatement.java | Class | |
TestSuiteDatabase.java | Class | |
TestXml2Datasources.java | Class | |
VirtualParameters.java | Class | Internal class to handle virtual parameters of a
DbPreparedStatement . |
VirtualParametersHandler.java | Interface | Internal interface that defines the methods that a
VirtualParameters handler has to support. |
Xml2Datasources.java | Class | This class parses an XML file to create a set of
Datasource objects. |