org.mmbase.module.database |
org.mmbase.module.database
The classes and interfaces that arrange the actual connection to JDBC database.
It contains the JDBC module, which implements the JDBCInterface and is the main entrypoint when
retrieving a connnection to a selected database layer (defined in the support package).
It also contains code for the implementation of a connection pool, for use with JDBC2.
@see org.mmbase.storage.StorageManagerFactory
|
Java Source File Name | Type | Comment |
ConnectionWrapper.java | Class | Wraps a java.sql.Connection object. |
DatabaseSupport.java | Interface | |
DatabaseSupportInformix.java | Class | This class sets the 'lock mode' to 30. |
DatabaseSupportShim.java | Class | |
JDBC.java | Class | JDBC Module. |
JDBCInterface.java | Interface | JDBCInterface is _only_ the module JDBC interface who setup the connections
it has nothing tofo with the JDBC interface. |
JDBCProbe.java | Class | JDBCProbe checks all JDBC connection every X seconds to find and
remove bad connections works using a callback into JDBC. |
MultiConnection.java | Interface | MMBase wraps java.sql.Connection. |
MultiConnectionImplementation.java | Class | MultiConnection is a replacement class for Connection it provides you a
multiplexed and reuseable connections from the connection pool.
The main function of this class is to 'log' (keep) the last sql statement passed to it.
Another function is to keep state (i.e. |
MultiPool.java | Class | |
MultiPoolHandler.java | Class | |
MultiStatement.java | Class | MultiStatement is a wrapper class for a callable Statement
obtained by a MultiConnection object. |
Naming.java | Class | This class is used to retrieve a connection, which is provided by naming resources.
With the usage of naming resource, it is possible to configure the database resource
inside the application server and let the application server do the pooling. |