Package au.gov.tas.dpiwe.mr.server.database

The au.gov.tas.dpiwe.server.database package contains classes and interfaces to support the ServerContainer's connection to and interaction with relational data sources.

See:
          Description

Interface Summary
MrResultSet MrResultSet adds any methods to ResultSet which may be missing from the version of Java we are compiling against.
 

Class Summary
DifferenceResultSet DifferenceResultSet is a UnionResultSet combining the the values from two other result sets in a way analogous to the set difference operator.
DistinctRowResultSet DistinctRowResultSet is a ResultSet which only returns rows where the set of values in a specified set of columns are distinct from all which have come before.
IntersectionResultSet IntersectionResultSet is a UnionResultSet combining the the values from two other result sets in a way analogous to the set intersection operator.
MrConnection A wrapper class around a Connection which allows it to be timeshared.
MrConnectionDriver MrConnectionDriver maintains several pools of database connections, and maps specific database connection requests onto these pools.
MrConnectionPool MrConnectionPool maintains a pool of reusable connections to a particular database.
MrDatabase MrDatabase provides access to a particular database using a pool of reusable connections.
MrDatabaseFactory MrDatabaseFactory generates an appropriate instances of a MrDatabase for a particular type (vendor) of database.
MrDB2Database MrDerbyDatabase provides utility methods which generate suitable query fragments for use in DB2 SQL.
MrDerbyDatabase MrDerbyDatabase provides utility methods which generate suitable query fragments for use in Derby SQL.
MrIBMDatabase MrIBMDatabase provides utility methods which generate suitable query fragments for use in IBM databases like DB2 and Derby.
MrOracleDatabase MrOracleDatabase provides utility methods which generate suitable query fragments for use in Oracle SQL.
MrResultSetAdapter This is a wrapper of objects implementing the ResultSet interface to allow them to implement the MrResultSet interface.
QueryBuilder QueryBuilder forms SQL (or any other SQL-like language) query fragments which facilitate the construcution of queries from object representations.
SQLStatement An SQL statement.
UnionResultSet UnionResultSet is a DistinctRowResultSet combining the the values from two other result sets.
 

Package au.gov.tas.dpiwe.mr.server.database Description

The au.gov.tas.dpiwe.server.database package contains classes and interfaces to support the ServerContainer's connection to and interaction with relational data sources.

Since:
Mr Architecture 1.0
Author:

Mr Architecture — an EJB 2.1 subset with relational and other extensions
by Kade Hansson <kade.hansson@dpiwe.tas.gov.au>

Concurrent collections framework: Copyright © 1994-2004 Doug Lea and Sun Microsystems, Inc., used under license.

All other code: Copyright © 2001-2004 Department of Primary Industries, Water and Environment (Tasmania.)

Mr Architecture is a not-for-profit project of DPIWE Tasmania. Its code is distributed under the terms of the Lesser GNU Public License (LGPL), either version 2.1 or a later version (at your option.) A copy should have been provided with this distribution, but a copy can be obtained on the web at http://www.gnu.org/licenses/lgpl.html or by writing to:

Free Software Foundation, Inc
59 Temple Place
Suite 330
Boston, MA 02111-1307
USA

Mr Architecture is supplied "as is" without any warranty whatsoever, and should therefore be considered to be without any implied warranty of merchantability or fitness for any particular purpose. See the Lesser GNU Public License (LGPL) for details.

See Also:
MrDatabase, ServerContainer