Package net.spy.db

SPY Database Layer

See:
          Description

Interface Summary
ConnectionSource Interface for classes that will create database connections.
DBSPLike Interface describing the basic DBSP features.
FileDriver.ParamMatcher Parameter matching interface for fuzzy matches on query parameters.
FileDriver.Updater Interface for registering updates.
QuerySelector Select the most appropriate query for the given DBSQL instance.
Savable Interface for transactionally savable objects.
TransactionListener Interface for objects that want to be notified when they're at the end of their transaction.
 

Class Summary
AbstractSavable Abstract implementation of Savable.
CachedResultSetStub This object represents a cached java.sql.ResultSet.
CachePreparedStatementStub Prepared statement for executing cached queries
ConnectionSourceFactory Get a connection source from a config.
DatabaseMetaDataQuerySelector Query selection by database product name.
DBCP Superclass for dynamic SQL calls.
DBNull Represents NULL data in DB parameters and stuff.
DBSP Super class for all stored procedure calls.
DBSPResult ResultSet returned by DBSPs.
DBSQL Superclass for dynamic SQL calls.
DBTTL Used to track checked out DB connections to report on connections that have been checked out longer than we expect them to be.
DBUtil  
FileDriver  
FileDriver.AnyParamMatcher Parameter matching instance that matches any parameter.
FileDriver.ClassParamMatcher Parameter matching instance that matches objects by class.
FileResultSetStub Stub class for building a ResultSet from a URL.
GenericPreparedStatementStub  
GenericResultSetStub This object contains all the common stuff required to stub a ResultSet implementation.
GetPK Primary key generator.
JDBCConnectionSource Implementation of ConnectionSource that gets connections directly from JDBC.
JNDIConnectionSource Connection source for getting DB connections from JNDI sources.
KeyStore Store a range of primary keys.
ObjectPoolConnectionSource Connection source to retrieve connections from an ObjectPool.
QuerySelectorFactory Factory for finding a QuerySelector instance.
SaveContext Context shared by all Savables inside a Saver.
Saver Transactional object saver.
SpyCacheDB Extensions to DB that allow for result set caching.
SpyDB SpyDB is an abstraction of both net.spy.pool and java.sql.
SQLRunner Run a SQL script from an InputStream.
TransactionPipeline Asynchronous Saver.
 

Exception Summary
DBInitException Exception thrown when there's a database initialization problem.
OverDrawnException Exception thrown from KeyStore when too many keys are requested.
SaveException Exception thrown when a Saver save fails.
 

Package net.spy.db Description

SPY Database Layer



Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.