com.jcorporate.expresso.core.db |
Database Java Objects for establishing database connections and connection pooling
Also contains all Exceptions used for Data Access while working with Expresso.
|
Java Source File Name | Type | Comment |
DBConfig.java | Class | |
DBConnection.java | Class | Generic database connection object - hides the implementation
details of using jdbc and allows for JDBC message and exceptions to be
handled better than by default. |
DBConnectionPool.java | Class | a generic database connection pooling
object.
Any object requiring connection to the database can request a connection
from the connection pool, which will re-use connections and allocate
new connections as required. |
DBException.java | Class | |
DBInitializer.java | Class | DBInitializer is a multi-purpose tool for working with database objects. |
DBTransaction.java | Class | Generic database transaction object - hides the implementation
details of using jdbc and allows for JDBC message and exceptions to be
handled better than by default. |
DefaultEscapeHandler.java | Class | This class character field filtering that is known to be compliant with
the Firebird, MySQL and PostgreSQL databases. |
DoubleQuoteEscapeHandler.java | Class | This class provides escape handling mechanism for SapDB. |
EscapeHandler.java | Interface | This interface is the base interface by which we escape characters that are
to be written to the database. |
MySQLEscapeHandler.java | Class | |
SimpleDataSource.java | Class | DataConnectionPool is an implementation of the javax.sql.DataSource .
Normally you would get an instance of the DataConnectionPool using
DBConnectionPool.getDataSource(String)
The reason for this class is that some libraries that can access a database
often take a DataSource as their way of connecting to the database. |
TableCreator.java | Class | A singleton utility class that helps create tables. |
TypeMapper.java | Class | Type Mapper takes care of the job of mapping various Java types to SQL
types. |