Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
L
M
N
O
P
R
S
T
U
A
add(String, long)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
Add a category with an ID producer using the given startId.
add(String, long, int)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
Add a category with an ID producer using the given startId and blockSize.
add(String, long, int, int)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
Add a category with an ID producer using the given startId and blockSize and length.
addCategories(String...)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
Adds the given category names for which to register an ID producer.
addCategories(IdGeneratorCategorySpec...)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
Adds the categories with ID producers according to the given specs.
anyRowExists(Connection, String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
B
build()
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
build()
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
C
categoryInitialized
- Variable in class org.pfsw.db.util.
ObjectIdentifierDB
checkCategoryRowExists(Connection)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
checkTableExists(Connection)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
close()
- Method in class org.pfsw.db.util.
SQLExecutor
Closes all open connections.
closeConnection(Connection)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
closeStatement(Statement)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
closeStatement(Statement)
- Method in class org.pfsw.db.util.
SQLExecutor
Closes the given statement.
commit()
- Method in class org.pfsw.db.util.
SQLExecutor
Commit the last transaction.
configureCategory(IdGeneratorCategorySpec)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Sets the values for the category from the given specification.
connection()
- Method in class org.pfsw.db.util.
SQLExecutor
connection(Connection)
- Method in class org.pfsw.db.util.
SQLExecutor
create(DataSource)
- Static method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
create(DataSource, IdGeneratorTableSpec)
- Static method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
create(String)
- Static method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
create()
- Static method in class org.pfsw.db.util.
IdGeneratorTableSpec
create(String)
- Static method in class org.pfsw.db.util.
IdGeneratorTableSpec
create(DataSource, String)
- Static method in class org.pfsw.db.util.
ObjectIdentifierDB
Creates a new instance with the data source and category.
create(DataSource, IdGeneratorTableSpec, String)
- Static method in class org.pfsw.db.util.
ObjectIdentifierDB
Creates a new instance with the data source and category.
create(DataSource)
- Static method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Creates a new builder instance with the given data source.
create(DataSource, IdGeneratorTableSpec)
- Static method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Creates a new builder instance with the given data source.
createOidTable(Connection)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
createRowForCategory(Connection)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
current()
- Static method in class org.pfsw.db.util.
DBUtil
Returns the only instance this class supports (design pattern "Singleton")
D
DatabaseAccessException
- Exception in
org.pfsw.db
A runtime exception for various database problems.
DatabaseAccessException(String, Object...)
- Constructor for exception org.pfsw.db.
DatabaseAccessException
DatabaseAccessException(Throwable, String, Object...)
- Constructor for exception org.pfsw.db.
DatabaseAccessException
DataSourceProxy
- Class in
org.pfsw.db.util
This class is a datasource wrapper for other datasources or simple connections.
DataSourceProxy(Connection)
- Constructor for class org.pfsw.db.util.
DataSourceProxy
Initialize the new instance with a ready-to-use connection.
DataSourceProxy(String, String, String)
- Constructor for class org.pfsw.db.util.
DataSourceProxy
Initialize the new instance with all necessary connection information.
DataSourceProxy(String)
- Constructor for class org.pfsw.db.util.
DataSourceProxy
Initialize the new instance with an URL for the database connection.
DataSourceProxy(DataSource, String, String)
- Constructor for class org.pfsw.db.util.
DataSourceProxy
DataSourceProxy(DataSource)
- Constructor for class org.pfsw.db.util.
DataSourceProxy
DBMultiCategoryIdGeneratorBuilder
- Class in
org.pfsw.db.util
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.
DBMultiCategoryIdGeneratorBuilder(DataSource)
- Constructor for class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
DBU
- Static variable in class org.pfsw.db.util.
DBUtil
DBUtil
- Class in
org.pfsw.db.util
Helper and convenience methods for Java database handling.
DBUtil()
- Constructor for class org.pfsw.db.util.
DBUtil
DefaultIdGeneratorCategorySpec
- Class in
org.pfsw.db.util
An ID generator specification with the following default values.
DefaultIdGeneratorCategorySpec(String)
- Constructor for class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
DefaultMultiCategoryIdentifierGenerator
- Class in
org.pfsw.db.util
A default implementation of an identifier generator for multiple categories.
DefaultMultiCategoryIdentifierGenerator()
- Constructor for class org.pfsw.db.util.
DefaultMultiCategoryIdentifierGenerator
E
execute(String)
- Method in class org.pfsw.db.util.
SQLExecutor
Executes the given SQL command and returns the number of affected rows.
executeSQL(String)
- Method in class org.pfsw.db.util.
SQLExecutor
Executes the given SQL command and returns true if the execution was successful.
executeWriteStatement(PreparedStatement)
- Method in class org.pfsw.db.util.
SQLExecutor
Executes the given statement and returns the number of affected rows.
G
getBlockSize()
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
getBlockSize()
- Method in interface org.pfsw.db.util.
IdGeneratorCategorySpec
Returns the block size to be reserved for in-memory incrementing.
getBlockSize()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
Returns the block size this generator is using.
getBlockSizeColumnName()
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
getBlockSizeColumnName()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getCategory()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getCategoryColumnName()
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
getCategoryColumnName()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getCategoryName()
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
getCategoryName()
- Method in interface org.pfsw.db.util.
IdGeneratorCategorySpec
Returns the unique category name.
getCategorySpecs()
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
getConnection()
- Method in class org.pfsw.db.util.
DataSourceProxy
Attempt to establish a database connection
getConnection(String, String)
- Method in class org.pfsw.db.util.
DataSourceProxy
Attempt to establish a database connection
getConnection()
- Method in class org.pfsw.db.util.
SQLExecutor
getDataSource()
- Method in class org.pfsw.db.util.
DataSourceProxy
getDataSource()
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
getDataSource()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getDataSource()
- Method in class org.pfsw.db.util.
SQLExecutor
getDataSourceConnection()
- Method in class org.pfsw.db.util.
DataSourceProxy
Attempt to establish a database connection using the wrapped datasource
getDbConnection()
- Method in class org.pfsw.db.util.
DataSourceProxy
getDbConnection()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
Returns a new connection with autoCommit=false.
getDbPassword()
- Method in class org.pfsw.db.util.
DataSourceProxy
getDbUrl()
- Method in class org.pfsw.db.util.
DataSourceProxy
getDbUserid()
- Method in class org.pfsw.db.util.
DataSourceProxy
getGeneratorRegistry()
- Method in class org.pfsw.db.util.
DefaultMultiCategoryIdentifierGenerator
getIdPrefix()
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
getIdPrefix()
- Method in interface org.pfsw.db.util.
IdGeneratorCategorySpec
Returns a string that must be used as prefix of any generated ID's string representation or null if no prefix is wanted.
getIdProducer(String)
- Method in class org.pfsw.db.util.
DefaultMultiCategoryIdentifierGenerator
getLastPrefetchedId()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getLength()
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
getLength()
- Method in interface org.pfsw.db.util.
IdGeneratorCategorySpec
Returns the length of the IDs.
getLogger()
- Static method in class org.pfsw.db.
LoggerProvider
Returns the current logger used by this component to report errors and exceptions.
getLoginTimeout()
- Method in class org.pfsw.db.util.
DataSourceProxy
Returns the maximum time in seconds that this data source can wait while attempting to connect to a database.
getLogWriter()
- Method in class org.pfsw.db.util.
DataSourceProxy
Returns the log writer for this data source
getMultiCategoryIdGenerator()
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
getNextIdColumnName()
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
getNextIdColumnName()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getObjectIdentifierDB()
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
getPaddingChar()
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
getPaddingChar()
- Method in interface org.pfsw.db.util.
IdGeneratorCategorySpec
Returns the character to be used for filling up generated IDs to a common fixed length.
getSqlSelectAnyStatement()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getSqlSelectCategoryStatement()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getSqlSelectForUpdateStatement()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getSqlUpdateStatement()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getStartId()
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
getStartId()
- Method in interface org.pfsw.db.util.
IdGeneratorCategorySpec
Returns the initial identifier value to start generation with.
getTableName()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getTableQualifier()
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
getTableQualifier()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getTableSpec()
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
getTableSpec()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
getUnqualifiedTableName()
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
getUnqualifiedTableName()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
H
hasConnection()
- Method in class org.pfsw.db.util.
DataSourceProxy
hasDataSource()
- Method in class org.pfsw.db.util.
DataSourceProxy
hasTableQualifier()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
I
idFromDB()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
IdGeneratorCategorySpec
- Interface in
org.pfsw.db.util
A definition of an ID generator for a specific category.
IdGeneratorTableSpec
- Class in
org.pfsw.db.util
A specification object for the name and column name definition of a database table used for ID generation.
IdGeneratorTableSpec()
- Constructor for class org.pfsw.db.util.
IdGeneratorTableSpec
INITIAL_BLOCKSIZE
- Static variable in class org.pfsw.db.util.
ObjectIdentifierDB
initializeCategory()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
initializeTableIfNecessary()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
isAllInitialized()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
isCategoryInitialized()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
isClosed()
- Method in class org.pfsw.db.util.
SQLExecutor
isDriverRegistered(String)
- Method in class org.pfsw.db.util.
DBUtil
Returns true if the database driver with the specified class name is registered at the java.sql.DriverManager.
isNewCategory(String)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
Returns true if no category with the given name has yet been registered.
isTableAlreadyCreated()
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
isTableCreated()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
isWrapperFor(Class<?>)
- Method in class org.pfsw.db.util.
DataSourceProxy
Always returns false.
L
loadAndRegisterDriver(String)
- Method in class org.pfsw.db.util.
DBUtil
Loads the database driver with the given class name and registers it at the java.sql.DriverManager.
loadNextIdFromDB()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
log()
- Method in class org.pfsw.db.util.
DefaultMultiCategoryIdentifierGenerator
logger()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
LoggerProvider
- Class in
org.pfsw.db
This is the central access point for the package's logger.
logSqlExceptionStacktrace(SQLException, String, Object...)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
M
MultiCategoryIdentifierGenerator
- Interface in
org.pfsw.db.util
An ID generator that supports different ID sequences for different categories.
N
newConnection()
- Method in class org.pfsw.db.util.
SQLExecutor
newIdentifier(String)
- Method in class org.pfsw.db.util.
DefaultMultiCategoryIdentifierGenerator
newIdentifier(String)
- Method in interface org.pfsw.db.util.
MultiCategoryIdentifierGenerator
Returns a new identifier for the given category.
nextIdentifier(String)
- Method in class org.pfsw.db.util.
DefaultMultiCategoryIdentifierGenerator
nextIdentifier(String)
- Method in interface org.pfsw.db.util.
MultiCategoryIdentifierGenerator
Returns a new identifier which is different to the last one for the given category.
nextIdentifier()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
nextIdentifier()
- Method in interface org.pfsw.db.util.
ObjectIdentifierProducer
Returns a new identifier which is different to the last one.
noPadding()
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Configures the ID generator to not do any (left) padding on the generated identifiers.
normalizeCategory(String)
- Method in class org.pfsw.db.util.
DefaultMultiCategoryIdentifierGenerator
O
ObjectIdentifierDB
- Class in
org.pfsw.db.util
Instances of this class provide generation of unique identifiers backed by a specific database table.
ObjectIdentifierDB(DataSource)
- Constructor for class org.pfsw.db.util.
ObjectIdentifierDB
Initialize the new instance with the given data source.
ObjectIdentifierDB(String, DataSource)
- Constructor for class org.pfsw.db.util.
ObjectIdentifierDB
Initialize the new instance with the given data source.
ObjectIdentifierDB(DataSource, String)
- Constructor for class org.pfsw.db.util.
ObjectIdentifierDB
Initialize the new instance with the data source.
ObjectIdentifierDB(String, DataSource, String)
- Constructor for class org.pfsw.db.util.
ObjectIdentifierDB
Initialize the new instance with the data source.
ObjectIdentifierDB(String, DataSource, String, long, int)
- Constructor for class org.pfsw.db.util.
ObjectIdentifierDB
Initialize the new instance with the data source.
ObjectIdentifierDBBuilder
- Class in
org.pfsw.db.util
Builder for ObjectIdentifierDB that supports fluent API.
ObjectIdentifierDBBuilder(DataSource)
- Constructor for class org.pfsw.db.util.
ObjectIdentifierDBBuilder
ObjectIdentifierGenerator
- Class in
org.pfsw.db.util
This class provides identifiers by incrementing an internal counter, starting at 1.
ObjectIdentifierGenerator()
- Constructor for class org.pfsw.db.util.
ObjectIdentifierGenerator
Initialize the new instance with default values.
ObjectIdentifierGenerator(int)
- Constructor for class org.pfsw.db.util.
ObjectIdentifierGenerator
Initialize the new instance with the length for the generated identifiers.
ObjectIdentifierGenerator(long, int)
- Constructor for class org.pfsw.db.util.
ObjectIdentifierGenerator
Initialize the new instance with the length for the generated identifiers and the id to start with.
ObjectIdentifierProducer
- Interface in
org.pfsw.db.util
An object that generates new identifiers must implement this interface.
OID_CN_BLOCKSIZE
- Static variable in class org.pfsw.db.util.
IdGeneratorTableSpec
OID_CN_CATEGORY
- Static variable in class org.pfsw.db.util.
IdGeneratorTableSpec
OID_CN_NEXTID
- Static variable in class org.pfsw.db.util.
IdGeneratorTableSpec
OID_TABLE_NAME
- Static variable in class org.pfsw.db.util.
IdGeneratorTableSpec
org.pfsw.db
- package org.pfsw.db
Database Utilities
Contains the logging interface for all classes in this component.
org.pfsw.db.util
- package org.pfsw.db.util
Database Utility Classes
Contains classes for DataSource support and object ID generation based on a database table.
P
prepareWriteStatement(String)
- Method in class org.pfsw.db.util.
SQLExecutor
Returns a PreparedStatement for the given SQL command.
R
register(String, ObjectIdentifierProducer)
- Method in class org.pfsw.db.util.
DefaultMultiCategoryIdentifierGenerator
Registers the given identifier producer for the specified category.
regsiterIdGenerator(IdGeneratorCategorySpec)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
reportSQLException(SQLException, String, Object...)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
rollback(Connection)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
S
setBlockSize(int)
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
setBlockSize(int)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
Set the block size this generator is using.
setBlockSize(int)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Sets how many IDs are reserved in-memory per read of the category from the database.
setBlockSizeColumn(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
setBlockSizeColumnName(String)
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
setBlockSizeColumnName(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setCategory(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setCategory(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Sets the category name for the identifiers.
setCategoryColumn(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
setCategoryColumnName(String)
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
setCategoryColumnName(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setDataSource(DataSource)
- Method in class org.pfsw.db.util.
DataSourceProxy
setDataSource(DataSource)
- Method in class org.pfsw.db.util.
SQLExecutor
setDbConnection(Connection)
- Method in class org.pfsw.db.util.
DataSourceProxy
setDbPassword(String)
- Method in class org.pfsw.db.util.
DataSourceProxy
setDbUrl(String)
- Method in class org.pfsw.db.util.
DataSourceProxy
setDbUserid(String)
- Method in class org.pfsw.db.util.
DataSourceProxy
setDriverClassName(String)
- Method in class org.pfsw.db.util.
DataSourceProxy
Creates an instance of the given class name in order to register the database driver.
setIdPrefix(String)
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
setLastPrefetchedId(long)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setLength(int)
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
setLength(int)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Sets the length of the resulting identifiers.
setLogger(Logger)
- Static method in class org.pfsw.db.
LoggerProvider
Replace the logger by another one.
setLogger2(Logger2)
- Static method in class org.pfsw.db.
LoggerProvider
Replace the logger by another one.
setLoginTimeout(int)
- Method in class org.pfsw.db.util.
DataSourceProxy
Sets the maximum time in seconds that this data source can wait while attempting to connect to a database.
setLogWriter(PrintWriter)
- Method in class org.pfsw.db.util.
DataSourceProxy
Sets the log writer for this data source
setNextIdColumn(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
setNextIdColumnName(String)
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
setNextIdColumnName(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setNextIdInDB(Connection, long)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setPaddingChar(char)
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
setPaddingChar(char)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Sets the padding character to the given values.
setPrefix(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Sets a prefix string for all IDs to be generated.
setSqlSelectAnyStatement(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setSqlSelectCategoryStatement(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setSqlSelectForUpdateStatement(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setSqlUpdateStatement(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setStartId(long)
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
setStartId(long)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Sets the first value of the IDs to be generated.
setStartId(long)
- Method in class org.pfsw.db.util.
ObjectIdentifierGenerator
setTableAlreadyCreated(boolean)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
setTableName(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
setTableQualifier(String)
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
setTableQualifier(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setTableQualifier(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
setTableSpec(IdGeneratorTableSpec)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
setTableSpec(IdGeneratorTableSpec)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
setTableSpec(IdGeneratorTableSpec)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
Sets the whole table specification.
setUnqualifiedTableName(String)
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
setUnqualifiedTableName(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
sqlCreateOidTable()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
SQLExecutor
- Class in
org.pfsw.db.util
Provides an easy to use interface to execute SQL statements against a database.
SQLExecutor(DataSource)
- Constructor for class org.pfsw.db.util.
SQLExecutor
Initialize the new instance with default values.
sqlInsertCategoryRow(String)
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
sqlSelectAny()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
sqlSelectCategory()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
sqlSelectNextId()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
sqlUpdateNextId()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
T
tableAlreadyCreated()
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
Invoke this method to signal that the table has been already created in the database.
tableAlreadyCreated()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
This method should be invoked to prevent automatic table creation which makes sense if the table has been create already externally.
tableAlreadyCreated()
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
This method should be invoked to prevent automatic table creation which makes sense if the table has been create already externally.
tableAlreadyCreated(boolean)
- Method in class org.pfsw.db.util.
ObjectIdentifierDBBuilder
This method can be invoked to prevent automatic table creation which makes sense if the table has been create already externally.
tableCreated
- Variable in class org.pfsw.db.util.
ObjectIdentifierDB
tableSpec(IdGeneratorTableSpec)
- Method in class org.pfsw.db.util.
DBMultiCategoryIdGeneratorBuilder
If the default table or column names are not acceptable, specify here the names to be used.
toString()
- Method in class org.pfsw.db.util.
DefaultIdGeneratorCategorySpec
toString()
- Method in class org.pfsw.db.util.
IdGeneratorTableSpec
toString()
- Method in class org.pfsw.db.util.
ObjectIdentifierDB
U
unwrap(Class<T>)
- Method in class org.pfsw.db.util.
DataSourceProxy
Always throws SQLException, becaus eno interfaces are supported.
A
B
C
D
E
G
H
I
L
M
N
O
P
R
S
T
U
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes