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
AutoCloseOperation<V> An Repository.Operation wrapper that automatically closes all statements opened by the operation.
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.
DataSourceConnectionProvider Provides connections using a pair of DataSource instances (one for read-only operations and one for read-write operations).
DefaultLiaison The default liaison is used if no other liaison could be matched for a particular database connection.
HsqldbLiaison Handles liaison for HSQLDB.
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 A specialized invoker unit that does one or more database operations and then sends the results back to the event processing thread.
ResultUnit<T> A RepositoryUnit that returns a single result from its database operations and operates on that.
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.
TransitionRepository Used to note that transitionary code has been run to migrate persistent data.
WriteOnlyUnit Extends Invoker.Unit and specializes it for writing to a database repository.
 

Package com.samskivert.jdbc Description

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



Copyright © 2012. All Rights Reserved.