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.
QuerySelector Select the most appropriate query for the given DBSQL instance.
Savable Deprecated. use SavableNode instead
SavableNode Interface for transactionally savable trees of 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 SavableNode.
CachedResultSetStub This object represents a cached java.sql.ResultSet.
CachePreparedStatementStub Prepared statement for executing cached queries
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.
DefaultQuerySelector Default implementation of query selector.
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.
SQLRunner Run a SQL script from an InputStream.
 

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