Package com.samskivert.jdbc

Provides support services to applications that access relational databases via JDBC.

See:
          Description

Interface Summary
ConnectionProvider As the repository aims to interface with whatever database pooling services a project cares to use, it obtains all of its database connections through a connection provider.
DatabaseLiaison Despite good intentions, JDBC and SQL do not provide a unified interface to all databases.
JDBCUtil.BatchProcessor Used for JDBCUtil.batchQuery(java.sql.Connection, java.lang.String, java.util.Collection, boolean, int, com.samskivert.jdbc.JDBCUtil.BatchProcessor).
Repository.Operation<V> Database operations should be encapsulated in instances of this class and then provided to the repository for invocation.
SimpleRepository.PreCondition See SimpleRepository.setExecutePreCondition(com.samskivert.jdbc.SimpleRepository.PreCondition).
TransitionRepository.Transition An interface for the transition.
 

Class Summary
BaseLiaison A superclass to help with the shrinking subset of SQL our supported dialects can agree on, or when there is disagreement, implement the most standard-compliant version and let the dialectal sub-classes override.
ColumnDefinition An object representing the configuration of a typical SQL column.
DefaultLiaison The default liaison is used if no other liaison could be matched for a particular database connection.
JDBCUtil A repository for JDBC related utility functions.
JORARepository The JORA repository simplifies the process of building persistence services that make use of the JORA object relational mapping package.
LiaisonRegistry The liaison registry provides access to the appropriate database liaison implementation for a particular database connection.
MySQLLiaison A database liaison for the MySQL database.
PostgreSQLLiaison A database liaison for the MySQL database.
Repository The repository class provides basic functionality upon which to build an interface to a repository of information stored in a database (a table or set of tables) that is accessed via JDBC.
RepositoryListenerUnit<T> Extends the RepositoryUnit and integrates with a ResultListener.
RepositoryUnit Extends WriteOnlyUnit and allows for processing of results back on the event processing thread.
SimpleRepository The simple repository should be used for a repository that only needs access to a single JDBC connection instance to perform its persistence services.
StaticConnectionProvider The static connection provider generates JDBC connections based on configuration information provided via a properties file.
StaticConnectionProvider.Mapping Contains information on a particular connection to which any number of database identifiers can be mapped.
TransitionRepository Used to note that transitionary code has been run to migrate persistent data.
WriteOnlyUnit Extends the Invoker.Unit and specializes it for writing to a database repository.
 

Exception Summary
DuplicateKeyException Thrown when an insert or update results in a duplicate key on a column that has a uniqueness constraint.
 

Package com.samskivert.jdbc Description

Provides support services to applications that access relational databases via JDBC.



Copyright © 2000-2008 Michael Bayne. All Rights Reserved.