Package org.pfsw.db.util

Database Utility Classes
Contains classes for DataSource support and object ID generation based on a database table.

See:
          Description

Interface Summary
IdGeneratorCategorySpec A definition of an ID generator for a specific category.
MultiCategoryIdentifierGenerator An ID generator that supports different ID sequences for different categories.
ObjectIdentifierProducer An object that generates new identifiers must implement this interface.
 

Class Summary
DataSourceProxy This class is a datasource wrapper for other datasources or simple connections.
DBMultiCategoryIdGeneratorBuilder A builder supporting fluent API to create a database backed multi-category identifier generator where the generators for the different categories all share the same database table.
DBUtil Helper and convenience methods for Java database handling.
DefaultIdGeneratorCategorySpec An ID generator specification with the following default values.
DefaultMultiCategoryIdentifierGenerator A default implementation of an identifier generator for multiple categories.
IdGeneratorTableSpec A specification object for the name and column name definition of a database table used for ID generation.
ObjectIdentifierDB Instances of this class provide generation of unique identifiers backed by a specific database table.
ObjectIdentifierDBBuilder Builder for ObjectIdentifierDB that supports fluent API.
ObjectIdentifierGenerator This class provides identifiers by incrementing an internal counter, starting at 1.
SQLExecutor Provides an easy to use interface to execute SQL statements against a database.
 

Package org.pfsw.db.util Description

Database Utility Classes


Contains classes for DataSource support and object ID generation based on a database table.