Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- args - Variable in exception class com.aoapps.dbc.EventException
- args - Variable in exception class com.aoapps.dbc.ExtraRowException
- args - Variable in exception class com.aoapps.dbc.NoRowException
- args - Variable in exception class com.aoapps.dbc.NullDataException
- ARRAY - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- AutoObjectFactory<T> - Class in com.aoapps.dbc
-
Creates instances of objects by using reflection and passing-in the parameters in the same order as the matching constructor.
- AutoObjectFactory(Class<? extends T>, Object...) - Constructor for class com.aoapps.dbc.AutoObjectFactory
B
- BigDecimal - Static variable in class com.aoapps.dbc.ObjectFactories
- BIGINT - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- BINARY - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- BIT - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- BLOB - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- Boolean - Static variable in class com.aoapps.dbc.ObjectFactories
- BOOLEAN - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- ByteArray - Static variable in class com.aoapps.dbc.ObjectFactories
C
- call(DatabaseConnection) - Method in interface com.aoapps.dbc.DatabaseCallable
- call(DatabaseConnection) - Method in interface com.aoapps.dbc.DatabaseCallableE
- call(ResultSet) - Method in interface com.aoapps.dbc.ResultSetCallable
-
Process one set of results.
- call(ResultSet) - Method in interface com.aoapps.dbc.ResultSetCallableE
-
Process one set of results.
- call(ResultSet) - Method in interface com.aoapps.dbc.ResultSetHandler
-
Deprecated.
- call(ResultSet) - Method in interface com.aoapps.dbc.ResultSetHandlerE
-
Deprecated.
- Catalog - Class in com.aoapps.dbc.meta
-
A friendly wrapper around database meta data.
- Catalog(DatabaseMetaData, String) - Constructor for class com.aoapps.dbc.meta.Catalog
- CHAR - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- CLOB - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- close() - Method in class com.aoapps.dbc.CloseableDatabase
-
Closes the database.
- close() - Method in class com.aoapps.dbc.Database
-
Closes the database.
- close() - Method in class com.aoapps.dbc.DatabaseConnection
-
Closes and/or releases the current connection back to the pool.
- close(Throwable) - Method in class com.aoapps.dbc.DatabaseConnection
-
Closes and/or releases the current connection back to the pool.
- CloseableDatabase - Class in com.aoapps.dbc
-
Allows closing of the underlying pool.
- CloseableDatabase(AOConnectionPool) - Constructor for class com.aoapps.dbc.CloseableDatabase
- CloseableDatabase(String, String, String, String, int, long, Logger) - Constructor for class com.aoapps.dbc.CloseableDatabase
- CloseableDatabase(DataSource, Logger) - Constructor for class com.aoapps.dbc.CloseableDatabase
- Column - Class in com.aoapps.dbc.meta
-
A friendly wrapper around database meta data.
- Column(Table, String, int, String, Integer, Integer, int, String, Integer, int, String, String) - Constructor for class com.aoapps.dbc.meta.Column
- com.aoapps.dbc - module com.aoapps.dbc
- com.aoapps.dbc - package com.aoapps.dbc
- com.aoapps.dbc.meta - package com.aoapps.dbc.meta
- commit() - Method in class com.aoapps.dbc.DatabaseConnection
-
Commits the current transaction.
- connect() - Method in class com.aoapps.dbc.Database
-
Creates a new
DatabaseConnection
instance. - createDatabaseConnection() - Method in class com.aoapps.dbc.Database
-
Deprecated, for removal: This API element is subject to removal in a future version.
- createObject(ResultSet) - Method in class com.aoapps.dbc.AutoObjectFactory
-
Creates one object from the current values in the ResultSet.
- createObject(ResultSet) - Method in class com.aoapps.dbc.ObjectFactories.Object
-
Deprecated.
- createObject(ResultSet) - Method in interface com.aoapps.dbc.ObjectFactory
-
Creates one object from the current values in the ResultSet.
- createObject(ResultSet) - Method in interface com.aoapps.dbc.ObjectFactoryE
-
Creates one object from the current values in the ResultSet.
D
- Database - Class in com.aoapps.dbc
-
Wraps and simplifies access to a JDBC database.
- Database(AOConnectionPool) - Constructor for class com.aoapps.dbc.Database
- Database(String, String, String, String, int, long, Logger) - Constructor for class com.aoapps.dbc.Database
- Database(DataSource, Logger) - Constructor for class com.aoapps.dbc.Database
- DatabaseAccess - Interface in com.aoapps.dbc
-
Wraps and simplifies access to a JDBC database.
- DatabaseAccess.Null - Enum in com.aoapps.dbc
-
These may be used as parameters to represent null values of specific types.
- DatabaseCallable<V> - Interface in com.aoapps.dbc
-
Target that may be used by
DatabaseAccess.transactionCall(com.aoapps.dbc.DatabaseCallable)
. - DatabaseCallableE<V,
Ex> - Interface in com.aoapps.dbc -
Target that may be used by
Database.transactionCall(java.lang.Class, com.aoapps.dbc.DatabaseCallableE)
and allows any arbitrary exception type in addition to the usual SQLException. - DatabaseConnection - Class in com.aoapps.dbc
-
A
DatabaseConnection
represents the scope of an overall transaction. - DatabaseConnection(Database) - Constructor for class com.aoapps.dbc.DatabaseConnection
- DatabaseMetaData - Class in com.aoapps.dbc.meta
-
A friendly wrapper around database meta data.
- DatabaseMetaData(Connection) - Constructor for class com.aoapps.dbc.meta.DatabaseMetaData
-
Creates a new meta data wrapper.
- DatabaseMetaData(DatabaseMetaData) - Constructor for class com.aoapps.dbc.meta.DatabaseMetaData
-
Creates a new meta data wrapper.
- DatabaseRunnable - Interface in com.aoapps.dbc
-
Target that may be used by
DatabaseAccess.transactionRun(com.aoapps.dbc.DatabaseRunnable)
. - DatabaseRunnableE<Ex> - Interface in com.aoapps.dbc
-
Target that may be used by
DatabaseAccess.transactionRun(java.lang.Class, com.aoapps.dbc.DatabaseRunnableE)
and allows any arbitrary exception type in addition to the usual SQLException. - DatabaseUtils - Class in com.aoapps.dbc
-
Implementation utilities.
- DATALINK - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- Date - Static variable in class com.aoapps.dbc.ObjectFactories
- DATE - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- DECIMAL - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- deinitConnection(Connection) - Method in class com.aoapps.dbc.Database
-
Before a connection is released back to the pool or the dataSource, it is passed here for any custom de-initialization routine.
- deinitSqlDataTypes(Connection) - Method in class com.aoapps.dbc.Database
-
Before a connection is release back to the pool or the dataSource, it is passed here for de-initialization of
Database.getSqlDataTypes()
. - DISTINCT - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- Double - Static variable in class com.aoapps.dbc.ObjectFactories
- DOUBLE - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- doubleStream(int, boolean, String, Object...) - Method in class com.aoapps.dbc.Database
- doubleStream(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
DoubleStream
return type. - doubleStream(int, boolean, String, Object...) - Method in class com.aoapps.dbc.DatabaseConnection
- doubleStream(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
DoubleStream
return type. - doubleStreamUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
DoubleStream
return type.
E
- equals(Object) - Method in class com.aoapps.dbc.meta.Column
-
Two columns are equal if they have the same schema name, table name, and column name.
- equals(Object) - Method in class com.aoapps.dbc.meta.Schema
-
Two schemas are equal if they have the same name.
- equals(Object) - Method in class com.aoapps.dbc.meta.Table
-
Two tables are equal if they have the same schema name and table name.
- EventException - Exception Class in com.aoapps.dbc
-
When an event handler fails, any
Throwable
other thanError
,RuntimeException
, orSQLException
will be wrapped in anEventException
. - EventException() - Constructor for exception class com.aoapps.dbc.EventException
- EventException(Resources, String) - Constructor for exception class com.aoapps.dbc.EventException
- EventException(Resources, String, Serializable...) - Constructor for exception class com.aoapps.dbc.EventException
- EventException(String) - Constructor for exception class com.aoapps.dbc.EventException
- EventException(String, Throwable) - Constructor for exception class com.aoapps.dbc.EventException
- EventException(Throwable) - Constructor for exception class com.aoapps.dbc.EventException
- EventException(Throwable, Resources, String) - Constructor for exception class com.aoapps.dbc.EventException
- EventException(Throwable, Resources, String, Serializable...) - Constructor for exception class com.aoapps.dbc.EventException
- executeBigDecimalQuery(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeBigDecimalQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeBigDecimalUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeBooleanQuery(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeBooleanQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeBooleanUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeByteArrayQuery(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeByteArrayQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeByteArrayUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeDateQuery(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeDateQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeDateUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeIntListQuery(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeIntListQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeIntListUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeIntQuery(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeIntQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeIntUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeLongListQuery(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeLongListQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeLongListUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeLongQuery(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeLongQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeLongUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectCollectionQuery(int, boolean, C, ObjectFactory<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectCollectionQuery(int, boolean, C, Class<Ex>, ObjectFactoryE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectCollectionQuery(int, boolean, C, Class<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseAccess.queryCollection(int, boolean, java.util.Collection, com.aoapps.dbc.ObjectFactory, java.lang.String, java.lang.Object...)
with a constructor lambdaClass::new
. - executeObjectCollectionQuery(C, ObjectFactory<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectCollectionQuery(C, Class<Ex>, ObjectFactoryE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectCollectionQuery(C, Class<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseAccess.queryCollection(java.util.Collection, com.aoapps.dbc.ObjectFactory, java.lang.String, java.lang.Object...)
with a constructor lambdaClass::new
. - executeObjectCollectionUpdate(C, ObjectFactory<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectCollectionUpdate(C, Class<Ex>, ObjectFactoryE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectCollectionUpdate(C, Class<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseAccess.updateCollection(java.util.Collection, com.aoapps.dbc.ObjectFactory, java.lang.String, java.lang.Object...)
with a constructor lambdaClass::new
. - executeObjectListQuery(int, boolean, ObjectFactory<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectListQuery(int, boolean, Class<Ex>, ObjectFactoryE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectListQuery(int, boolean, Class<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseAccess.queryList(int, boolean, com.aoapps.dbc.ObjectFactory, java.lang.String, java.lang.Object...)
with a constructor lambdaClass::new
. - executeObjectListQuery(ObjectFactory<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectListQuery(Class<Ex>, ObjectFactoryE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectListQuery(Class<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseAccess.queryList(com.aoapps.dbc.ObjectFactory, java.lang.String, java.lang.Object...)
with a constructor lambdaClass::new
. - executeObjectListUpdate(ObjectFactory<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectListUpdate(Class<Ex>, ObjectFactoryE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectListUpdate(Class<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseAccess.updateList(com.aoapps.dbc.ObjectFactory, java.lang.String, java.lang.Object...)
with a constructor lambdaClass::new
. - executeObjectQuery(int, boolean, boolean, ObjectFactory<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectQuery(int, boolean, boolean, Class<Ex>, ObjectFactoryE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectQuery(int, boolean, boolean, Class<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseAccess.queryObject(int, boolean, boolean, boolean, com.aoapps.dbc.ObjectFactory, java.lang.String, java.lang.Object...)
with a constructor lambdaClass::new
. - executeObjectQuery(ObjectFactory<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectQuery(Class<Ex>, ObjectFactoryE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectQuery(Class<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseAccess.queryObject(com.aoapps.dbc.ObjectFactory, java.lang.String, java.lang.Object...)
with a constructor lambdaClass::new
. - executeObjectUpdate(ObjectFactory<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectUpdate(Class<Ex>, ObjectFactoryE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeObjectUpdate(Class<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseAccess.updateObject(com.aoapps.dbc.ObjectFactory, java.lang.String, java.lang.Object...)
with a constructor lambdaClass::new
. - executeQuery(int, boolean, ResultSetHandler<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeQuery(int, boolean, Class<Ex>, ResultSetHandlerE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeQuery(ResultSetHandler<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeQuery(Class<Ex>, ResultSetHandlerE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeShortListQuery(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeShortListQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeShortListUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeShortQuery(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeShortQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeShortUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeStringListQuery(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeStringListQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeStringListUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeStringQuery(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeStringQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeStringUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeTimestampQuery(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeTimestampQuery(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeTimestampUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeTransaction(DatabaseCallable<V>) - Method in class com.aoapps.dbc.Database
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeTransaction(DatabaseRunnable) - Method in class com.aoapps.dbc.Database
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeTransaction(Class<Ex>, DatabaseCallableE<V, Ex>) - Method in class com.aoapps.dbc.Database
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeTransaction(Class<Ex>, DatabaseRunnableE<Ex>) - Method in class com.aoapps.dbc.Database
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeUpdate(ResultSetHandler<T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeUpdate(Class<Ex>, ResultSetHandlerE<T, Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- ExtraRowException - Exception Class in com.aoapps.dbc
-
Thrown when more rows are retrieved than expected.
- ExtraRowException() - Constructor for exception class com.aoapps.dbc.ExtraRowException
- ExtraRowException(Resources, String) - Constructor for exception class com.aoapps.dbc.ExtraRowException
- ExtraRowException(Resources, String, Serializable...) - Constructor for exception class com.aoapps.dbc.ExtraRowException
- ExtraRowException(String) - Constructor for exception class com.aoapps.dbc.ExtraRowException
- ExtraRowException(String, Throwable) - Constructor for exception class com.aoapps.dbc.ExtraRowException
- ExtraRowException(Throwable) - Constructor for exception class com.aoapps.dbc.ExtraRowException
- ExtraRowException(Throwable, Resources, String) - Constructor for exception class com.aoapps.dbc.ExtraRowException
- ExtraRowException(Throwable, Resources, String, Serializable...) - Constructor for exception class com.aoapps.dbc.ExtraRowException
- ExtraRowException(ResultSet) - Constructor for exception class com.aoapps.dbc.ExtraRowException
- ExtraRowException(ResultSet, Throwable) - Constructor for exception class com.aoapps.dbc.ExtraRowException
F
- FETCH_SIZE - Static variable in class com.aoapps.dbc.DatabaseConnection
-
The fetch size given to
Statement.setFetchSize(int)
. - Float - Static variable in class com.aoapps.dbc.ObjectFactories
- FLOAT - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
G
- getArgs() - Method in exception class com.aoapps.dbc.EventException
- getArgs() - Method in exception class com.aoapps.dbc.ExtraRowException
- getArgs() - Method in exception class com.aoapps.dbc.NoRowException
- getArgs() - Method in exception class com.aoapps.dbc.NullDataException
- getCatalog() - Method in class com.aoapps.dbc.meta.Schema
- getCatalog(String) - Method in class com.aoapps.dbc.meta.DatabaseMetaData
-
Gets the catalog of the provided name.
- getCatalogOptional(String) - Method in class com.aoapps.dbc.meta.DatabaseMetaData
-
Gets the catalog of the provided name.
- getCatalogs() - Method in class com.aoapps.dbc.meta.DatabaseMetaData
-
Gets all catalogs for this database keyed by unique name.
- getCharOctetLength() - Method in class com.aoapps.dbc.meta.Column
- getCollator() - Static method in class com.aoapps.dbc.meta.DatabaseMetaData
-
Gets the collator used for result ordering.
- getColumn(int) - Method in class com.aoapps.dbc.meta.Table
-
Gets the column of the provided ordinal position, where positions start at one.
- getColumn(String) - Method in class com.aoapps.dbc.meta.Table
-
Gets the column of the provided name.
- getColumnDef() - Method in class com.aoapps.dbc.meta.Column
- getColumnMap() - Method in class com.aoapps.dbc.meta.Table
-
Gets all columns for this schema keyed by unique name.
- getColumnOptional(int) - Method in class com.aoapps.dbc.meta.Table
-
Gets the column of the provided ordinal position, where positions start at one.
- getColumnOptional(String) - Method in class com.aoapps.dbc.meta.Table
-
Gets the column of the provided name.
- getColumns() - Method in class com.aoapps.dbc.meta.Index
- getColumns() - Method in class com.aoapps.dbc.meta.Table
-
Gets all columns for this schema in their ordinal position order.
- getColumnSize() - Method in class com.aoapps.dbc.meta.Column
- getConnection() - Method in class com.aoapps.dbc.Database
-
Gets a read/write connection to the database with a transaction level of
Connections.DEFAULT_TRANSACTION_ISOLATION
, warning when a connection is already used by this thread. - getConnection() - Method in class com.aoapps.dbc.DatabaseConnection
-
Gets the read/write connection to the database with a transaction level of
Connections.DEFAULT_TRANSACTION_ISOLATION
, warning when a connection is already used by this thread. - getConnection(boolean) - Method in class com.aoapps.dbc.Database
-
Gets a connection to the database with a transaction level of
Connections.DEFAULT_TRANSACTION_ISOLATION
, warning when a connection is already used by this thread. - getConnection(boolean) - Method in class com.aoapps.dbc.DatabaseConnection
-
Gets the connection to the database with a transaction level of
Connections.DEFAULT_TRANSACTION_ISOLATION
, warning when a connection is already used by this thread. - getConnection(int) - Method in class com.aoapps.dbc.Database
-
Gets a read/write connection to the database with a transaction level of
Connections.DEFAULT_TRANSACTION_ISOLATION
. - getConnection(int) - Method in class com.aoapps.dbc.DatabaseConnection
-
Gets the read/write connection to the database with a transaction level of
Connections.DEFAULT_TRANSACTION_ISOLATION
. - getConnection(int, boolean) - Method in class com.aoapps.dbc.Database
-
Gets a connection to the database, warning when a connection is already used by this thread.
- getConnection(int, boolean) - Method in class com.aoapps.dbc.DatabaseConnection
-
Gets the connection to the database, warning when a connection is already used by this thread.
- getConnection(int, boolean, int) - Method in class com.aoapps.dbc.Database
-
Gets a connection to the database.
- getConnection(int, boolean, int) - Method in class com.aoapps.dbc.DatabaseConnection
-
Gets the connection to the database.
- getConnection(int, boolean, int, boolean) - Method in class com.aoapps.dbc.Database
- getConnectionPool() - Method in class com.aoapps.dbc.Database
-
Gets the pool or
null
if using aDataSource
. - getDatabase() - Method in class com.aoapps.dbc.DatabaseConnection
- getDataSource() - Method in class com.aoapps.dbc.Database
-
Gets the data source or
null
if using anAOConnectionPool
. - getDataType() - Method in class com.aoapps.dbc.meta.Column
- getDecimalDigits() - Method in class com.aoapps.dbc.meta.Column
- getExportedTables() - Method in class com.aoapps.dbc.meta.Table
-
Gets the set of tables that depend on this table.
- getForeignKeyGraph() - Method in class com.aoapps.dbc.meta.Catalog
-
Gets a graph view of the imported/exported table relationships within this catalog.
- getForeignKeyGraph(Set<String>) - Method in class com.aoapps.dbc.meta.Catalog
-
Gets a graph view of the imported/exported table relationships within this catalog.
- getImportedTables() - Method in class com.aoapps.dbc.meta.Table
-
Gets the set of tables that this table depends on.
- getIndexType() - Method in class com.aoapps.dbc.meta.Index
- getIsAutoincrement() - Method in class com.aoapps.dbc.meta.Column
- getIsNullable() - Method in class com.aoapps.dbc.meta.Column
- getKey() - Method in exception class com.aoapps.dbc.EventException
- getKey() - Method in exception class com.aoapps.dbc.ExtraRowException
- getKey() - Method in exception class com.aoapps.dbc.NoRowException
- getKey() - Method in exception class com.aoapps.dbc.NullDataException
- getLocalizedMessage() - Method in exception class com.aoapps.dbc.EventException
- getLocalizedMessage() - Method in exception class com.aoapps.dbc.ExtraRowException
- getLocalizedMessage() - Method in exception class com.aoapps.dbc.NoRowException
- getLocalizedMessage() - Method in exception class com.aoapps.dbc.NullDataException
- getLogger() - Method in class com.aoapps.dbc.Database
- getMetaData() - Method in class com.aoapps.dbc.meta.Catalog
- getMetaData() - Method in class com.aoapps.dbc.meta.DatabaseMetaData
- getName() - Method in class com.aoapps.dbc.meta.Catalog
- getName() - Method in class com.aoapps.dbc.meta.Column
- getName() - Method in class com.aoapps.dbc.meta.Index
- getName() - Method in class com.aoapps.dbc.meta.Schema
- getName() - Method in class com.aoapps.dbc.meta.Table
- getNullable() - Method in class com.aoapps.dbc.meta.Column
- getOrdinalPosition() - Method in class com.aoapps.dbc.meta.Column
- getPrimaryKey() - Method in class com.aoapps.dbc.meta.Table
-
Gets the primary key for this table or
null
if not found. - getResources() - Method in exception class com.aoapps.dbc.EventException
- getResources() - Method in exception class com.aoapps.dbc.ExtraRowException
- getResources() - Method in exception class com.aoapps.dbc.NoRowException
- getResources() - Method in exception class com.aoapps.dbc.NullDataException
- getRow(ResultSet) - Static method in class com.aoapps.dbc.DatabaseUtils
-
Gets a user-friendly description of the provided result in a string formatted like
('value', 'value', 'long_value_cutoff_at_32_characte…', int_value, NULL, …)
. - getRowCount(ResultSet) - Static method in class com.aoapps.dbc.DatabaseUtils
-
Gets the number of rows or
-1
when unknown. - getSchema() - Method in class com.aoapps.dbc.meta.Table
- getSchema(String) - Method in class com.aoapps.dbc.meta.Catalog
-
Gets the schema of the provided name.
- getSchemaOptional(String) - Method in class com.aoapps.dbc.meta.Catalog
-
Gets the schema of the provided name.
- getSchemas() - Method in class com.aoapps.dbc.meta.Catalog
-
Gets all schemas for this catalog keyed by unique name.
- getTable() - Method in class com.aoapps.dbc.meta.Column
- getTable() - Method in class com.aoapps.dbc.meta.Index
- getTable(String) - Method in class com.aoapps.dbc.meta.Schema
-
Gets the table of the provided name.
- getTableOptional(String) - Method in class com.aoapps.dbc.meta.Schema
-
Gets the table of the provided name.
- getTables() - Method in class com.aoapps.dbc.meta.Schema
-
Gets all tables for this schema keyed by unique name.
- getTableType() - Method in class com.aoapps.dbc.meta.Table
- getType() - Method in enum com.aoapps.dbc.DatabaseAccess.Null
- getTypeName() - Method in class com.aoapps.dbc.meta.Column
- getValueOfIntMethod(Class<?>) - Static method in class com.aoapps.dbc.AutoObjectFactory
-
Gets the
valueOf(int)
for the provided class ornull
if doesn't exist or is non-static or non-public. - getValueOfStringMethod(Class<?>) - Static method in class com.aoapps.dbc.AutoObjectFactory
-
Gets the
valueOf(String)
for the provided class ornull
if doesn't exist or is non-static or non-public.
H
- handleResultSet(ResultSet) - Method in interface com.aoapps.dbc.ResultSetHandler
-
Deprecated.Process one set of results.
- handleResultSet(ResultSet) - Method in interface com.aoapps.dbc.ResultSetHandlerE
-
Deprecated.Process one set of results.
- hashCode() - Method in class com.aoapps.dbc.meta.Column
- hashCode() - Method in class com.aoapps.dbc.meta.Schema
- hashCode() - Method in class com.aoapps.dbc.meta.Table
I
- Index - Class in com.aoapps.dbc.meta
-
A friendly wrapper around database meta data.
- Index(Table, String, IndexType, List<Column>) - Constructor for class com.aoapps.dbc.meta.Index
- initConnection(Connection) - Method in class com.aoapps.dbc.Database
-
Whenever a new connection is obtained from the pool or the dataSource, it is passed here for any custom initialization routine.
- initSqlDataTypes(Connection) - Method in class com.aoapps.dbc.Database
-
Whenever a new connection is obtained from the pool or the dataSource, it is passed here for initialization of
Database.getSqlDataTypes()
. - Integer - Static variable in class com.aoapps.dbc.ObjectFactories
- INTEGER - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- intStream(int, boolean, String, Object...) - Method in class com.aoapps.dbc.Database
- intStream(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with an
IntStream
return type. - intStream(int, boolean, String, Object...) - Method in class com.aoapps.dbc.DatabaseConnection
- intStream(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an
IntStream
return type. - intStreamUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an
IntStream
return type. - isClosed() - Method in class com.aoapps.dbc.DatabaseConnection
- isInTransaction() - Method in class com.aoapps.dbc.Database
- isInTransaction() - Method in interface com.aoapps.dbc.DatabaseAccess
-
Checks if the current thread is in a transaction.
- isInTransaction() - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated.
DatabaseConnection
is already within a transaction. - isNullable() - Method in class com.aoapps.dbc.AutoObjectFactory
-
Gets if this object factory can return
null
fromObjectFactoryE.createObject(java.sql.ResultSet)
. - isNullable() - Method in class com.aoapps.dbc.ObjectFactories.Object
-
Deprecated.Gets if this object factory can return
null
fromObjectFactoryE.createObject(java.sql.ResultSet)
. - isNullable() - Method in interface com.aoapps.dbc.ObjectFactoryE
-
Gets if this object factory can return
null
fromObjectFactoryE.createObject(java.sql.ResultSet)
.
J
- JAVA_OBJECT - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
K
- key - Variable in exception class com.aoapps.dbc.EventException
- key - Variable in exception class com.aoapps.dbc.ExtraRowException
- key - Variable in exception class com.aoapps.dbc.NoRowException
- key - Variable in exception class com.aoapps.dbc.NullDataException
L
- largeUpdate(String, Object...) - Method in class com.aoapps.dbc.Database
- largeUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Performs an update on the database and returns the number of rows affected.
- largeUpdate(String, Object...) - Method in class com.aoapps.dbc.DatabaseConnection
- Long - Static variable in class com.aoapps.dbc.ObjectFactories
- LONGNVARCHAR - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- longStream(int, boolean, String, Object...) - Method in class com.aoapps.dbc.Database
- longStream(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
LongStream
return type. - longStream(int, boolean, String, Object...) - Method in class com.aoapps.dbc.DatabaseConnection
- longStream(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
LongStream
return type. - longStreamUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
LongStream
return type. - LONGVARBINARY - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- LONGVARCHAR - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
N
- NCHAR - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- NCLOB - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- NoRowException - Exception Class in com.aoapps.dbc
-
Thrown when no row available and a row is required.
- NoRowException() - Constructor for exception class com.aoapps.dbc.NoRowException
- NoRowException(Resources, String) - Constructor for exception class com.aoapps.dbc.NoRowException
- NoRowException(Resources, String, Serializable...) - Constructor for exception class com.aoapps.dbc.NoRowException
- NoRowException(String) - Constructor for exception class com.aoapps.dbc.NoRowException
- NoRowException(String, Throwable) - Constructor for exception class com.aoapps.dbc.NoRowException
- NoRowException(Throwable) - Constructor for exception class com.aoapps.dbc.NoRowException
- NoRowException(Throwable, Resources, String) - Constructor for exception class com.aoapps.dbc.NoRowException
- NoRowException(Throwable, Resources, String, Serializable...) - Constructor for exception class com.aoapps.dbc.NoRowException
- notNull(ObjectFactory<T>) - Static method in class com.aoapps.dbc.ObjectFactories
-
Wraps an object factory, unless it is already not nullable.
- notNull(ObjectFactoryE<T, Ex>) - Static method in class com.aoapps.dbc.ObjectFactories
-
Wraps an object factory, unless it is already not nullable.
- NULL - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- NullDataException - Exception Class in com.aoapps.dbc
-
Thrown when database contains a null value and a non-null value is required.
- NullDataException() - Constructor for exception class com.aoapps.dbc.NullDataException
- NullDataException(Resources, String) - Constructor for exception class com.aoapps.dbc.NullDataException
- NullDataException(Resources, String, Serializable...) - Constructor for exception class com.aoapps.dbc.NullDataException
- NullDataException(String) - Constructor for exception class com.aoapps.dbc.NullDataException
- NullDataException(String, Throwable) - Constructor for exception class com.aoapps.dbc.NullDataException
- NullDataException(Throwable) - Constructor for exception class com.aoapps.dbc.NullDataException
- NullDataException(Throwable, Resources, String) - Constructor for exception class com.aoapps.dbc.NullDataException
- NullDataException(Throwable, Resources, String, Serializable...) - Constructor for exception class com.aoapps.dbc.NullDataException
- NullDataException(ResultSet) - Constructor for exception class com.aoapps.dbc.NullDataException
- NullDataException(ResultSet, Throwable) - Constructor for exception class com.aoapps.dbc.NullDataException
- NUMERIC - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- NVARCHAR - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
O
- Object(Class<? extends T>) - Constructor for class com.aoapps.dbc.ObjectFactories.Object
-
Deprecated.
- ObjectFactories - Class in com.aoapps.dbc
-
A set of object factories for various types.
- ObjectFactories.Object<T> - Class in com.aoapps.dbc
-
Deprecated.Please use a constructor lambda
Class::new
. - ObjectFactory<T> - Interface in com.aoapps.dbc
-
Creates instances of objects of the generics type from a result set.
- ObjectFactoryE<T,
Ex> - Interface in com.aoapps.dbc -
Creates instances of objects of the generics type from a result set.
- onCommit(RunnableE<?>) - Method in class com.aoapps.dbc.DatabaseConnection
-
Adds an on-commit event handler, which are called in order just after the transaction has been successfully committed.
- onRollback(RunnableE<?>) - Method in class com.aoapps.dbc.DatabaseConnection
-
Adds an on-rollback event handler, which are called in reverse order just before the transaction will be rolled-back.
- OTHER - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
Q
- queryBigDecimal(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
BigDecimal
return type. - queryBigDecimal(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryBigDecimal(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
BigDecimal
return type. - queryBigDecimalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
BigDecimal
return type. - queryBigDecimalOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
BigDecimal
return type. - queryBigDecimalOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
BigDecimal
return type. - queryBoolean(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Boolean
return type. - queryBoolean(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryBoolean(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
boolean
return type. - queryBooleanNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
Boolean
return type. - queryBooleanOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
Boolean
return type. - queryBooleanOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
Boolean
return type. - queryByteArray(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
byte[]
return type. - queryByteArray(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryByteArray(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
byte[]
return type. - queryByteArrayNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
byte[]
return type. - queryByteArrayOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
byte[]
return type. - queryByteArrayOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
byte[]
return type. - queryCall(int, boolean, ResultSetCallable<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database, calling the
ResultSetCallable
once. - queryCall(int, boolean, Class<? extends Ex>, ResultSetCallableE<? extends T, ? extends Ex>, String, Object...) - Method in class com.aoapps.dbc.Database
-
Query the database, calling the
ResultSetCallableE
once. - queryCall(int, boolean, Class<? extends Ex>, ResultSetCallableE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database, calling the
ResultSetCallableE
once. - queryCall(int, boolean, Class<? extends Ex>, ResultSetCallableE<? extends T, ? extends Ex>, String, Object...) - Method in class com.aoapps.dbc.DatabaseConnection
-
Query the database, calling the
ResultSetCallableE
once. - queryCall(ResultSetCallable<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database, calling the
ResultSetCallable
once. - queryCall(Class<? extends Ex>, ResultSetCallableE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database, calling the
ResultSetCallableE
once. - queryCollection(int, boolean, C, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Collection<T>
return type, objects are created with the provided factory. - queryCollection(int, boolean, C, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Collection<T>
return type, objects are created with the provided factory. - queryCollection(C, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
Collection<T>
return type, objects are created with the provided factory. - queryCollection(C, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
Collection<T>
return type, objects are created with the provided factory. - queryDate(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Date
return type. - queryDate(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryDate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
Date
return type. - queryDateNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
Date
return type. - queryDateOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
Date
return type. - queryDateOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
Date
return type. - queryDouble(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Double
return type. - queryDouble(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryDouble(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
double
return type. - queryDoubleNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
Double
return type. - queryDoubleOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
Double
return type. - queryDoubleOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
Double
return type. - queryFloat(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Float
return type. - queryFloat(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryFloat(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
float
return type. - queryFloatNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
Float
return type. - queryFloatOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
Float
return type. - queryFloatOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
Float
return type. - queryInt(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with an
Integer
return type. - queryInt(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryInt(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
int
return type. - queryIntList(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with an
IntList
return type. - queryIntList(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an
IntList
return type. - queryIntNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
Integer
return type. - queryIntOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
Integer
return type. - queryIntOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
Integer
return type. - queryList(int, boolean, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
List<T>
return type, objects are created with the provided factory. - queryList(int, boolean, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
List<T>
return type, objects are created with the provided factory. - queryList(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
List<T>
return type, objects are created with the provided factory. - queryList(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
List<T>
return type, objects are created with the provided factory. - queryLong(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Long
return type. - queryLong(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryLong(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
long
return type. - queryLongList(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
LongList
return type. - queryLongList(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
LongList
return type. - queryLongNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
Long
return type. - queryLongOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
Long
return type. - queryLongOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
Long
return type. - queryNewCollection(int, boolean, Function<? super Integer, ? extends C>, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Collection<T>
return type, objects are created with the provided factory. - queryNewCollection(int, boolean, Function<? super Integer, ? extends C>, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Collection<T>
return type, objects are created with the provided factory. - queryNewCollection(Function<? super Integer, ? extends C>, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
Collection<T>
return type, objects are created with the provided factory. - queryNewCollection(Function<? super Integer, ? extends C>, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
Collection<T>
return type, objects are created with the provided factory. - queryObject(int, boolean, boolean, boolean, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
<T>
return type, objects are created with the provided factory. - queryObject(int, boolean, boolean, boolean, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
<T>
return type, objects are created with the provided factory. - queryObject(int, boolean, boolean, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryObject(int, boolean, boolean, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryObject(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
<T>
return type, objects are created with the provided factory. - queryObject(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
<T>
return type, objects are created with the provided factory. - queryObjectNullable(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
<T>
return type, objects are created with the provided factory. - queryObjectNullable(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
<T>
return type, objects are created with the provided factory. - queryObjectOptional(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
<T>
return type, objects are created with the provided factory. - queryObjectOptional(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
<T>
return type, objects are created with the provided factory. - queryObjectOptionalNullable(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
<T>
return type, objects are created with the provided factory. - queryObjectOptionalNullable(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
<T>
return type, objects are created with the provided factory. - queryRun(int, boolean, ResultSetRunnable, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database, calling the
ResultSetRunnable
once. - queryRun(int, boolean, Class<? extends Ex>, ResultSetRunnableE<? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database, calling the
ResultSetRunnableE
once. - queryRun(ResultSetRunnable, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database, calling the
ResultSetRunnable
once. - queryRun(Class<? extends Ex>, ResultSetRunnableE<? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database, calling the
ResultSetRunnableE
once. - queryShort(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Short
return type. - queryShort(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryShort(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
short
return type. - queryShortNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
Short
return type. - queryShortOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
Short
return type. - queryShortOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
Short
return type. - queryString(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
String
return type. - queryString(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryString(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
String
return type. - queryStringList(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
List<String>
return type. - queryStringList(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
List<String>
return type. - queryStringNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
String
return type. - queryStringOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
String
return type. - queryStringOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
String
return type. - queryTimestamp(int, boolean, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Timestamp
return type. - queryTimestamp(int, boolean, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Deprecated, for removal: This API element is subject to removal in a future version.
- queryTimestamp(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required non-null
Timestamp
return type. - queryTimestampNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a required nullable
Timestamp
return type. - queryTimestampOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional non-null
Timestamp
return type. - queryTimestampOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with an optional nullable
Timestamp
return type.
R
- REAL - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- REF - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- REF_CURSOR - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- release(FailFastConnection) - Method in class com.aoapps.dbc.Database
-
Closes and/or releases the given connection back to the pool.
- releaseConnection() - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseConnection.close()
- releaseConnection(Connection) - Method in class com.aoapps.dbc.Database
-
Deprecated, for removal: This API element is subject to removal in a future version.Please release to the pool by closing the connection, preferably via try-with-resources.
- resources - Variable in exception class com.aoapps.dbc.EventException
- resources - Variable in exception class com.aoapps.dbc.ExtraRowException
- resources - Variable in exception class com.aoapps.dbc.NoRowException
- resources - Variable in exception class com.aoapps.dbc.NullDataException
- ResultSetCallable<T> - Interface in com.aoapps.dbc
-
Processes the results from a query.
- ResultSetCallableE<T,
Ex> - Interface in com.aoapps.dbc -
Processes the results from a query.
- ResultSetHandler<T> - Interface in com.aoapps.dbc
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
ResultSetCallable
orResultSetRunnable
- ResultSetHandlerE<T,
Ex> - Interface in com.aoapps.dbc -
Deprecated, for removal: This API element is subject to removal in a future version.Please use
ResultSetCallableE
orResultSetRunnableE
- ResultSetRunnable - Interface in com.aoapps.dbc
-
Processes the results from a query.
- ResultSetRunnableE<Ex> - Interface in com.aoapps.dbc
-
Processes the results from a query.
- rollback() - Method in class com.aoapps.dbc.DatabaseConnection
-
Rolls back the current connection, if have connection and is not auto-commit.
- rollback(Throwable) - Method in class com.aoapps.dbc.DatabaseConnection
-
Rolls back the current connection, if have connection and is not auto-commit.
- rollbackAndClose() - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseConnection.rollback()
. The connection will be validated duringDatabaseConnection.close()
when there is any unresolved fail-fast state. - rollbackAndClose(Throwable) - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated, for removal: This API element is subject to removal in a future version.Please use
DatabaseConnection.rollback(java.lang.Throwable)
. The connection will be validated duringDatabaseConnection.close(java.lang.Throwable)
when there is any unresolved fail-fast state. - ROWID - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- run(DatabaseConnection) - Method in interface com.aoapps.dbc.DatabaseRunnable
- run(DatabaseConnection) - Method in interface com.aoapps.dbc.DatabaseRunnableE
- run(ResultSet) - Method in interface com.aoapps.dbc.ResultSetRunnable
-
Process one set of results.
- run(ResultSet) - Method in interface com.aoapps.dbc.ResultSetRunnableE
-
Process one set of results.
S
- Schema - Class in com.aoapps.dbc.meta
-
A friendly wrapper around database meta data.
- Schema(Catalog, String) - Constructor for class com.aoapps.dbc.meta.Schema
- setParam(Connection, PreparedStatement, int, Object) - Static method in class com.aoapps.dbc.DatabaseConnection
- setParams(Connection, PreparedStatement, Object...) - Static method in class com.aoapps.dbc.DatabaseConnection
- Short - Static variable in class com.aoapps.dbc.ObjectFactories
- SMALLINT - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- SQLXML - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- stream(int, boolean, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Stream<T>
return type, objects are created with the provided factory. - stream(int, boolean, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in class com.aoapps.dbc.Database
-
Query the database with a
Stream<T>
return type, objects are created with the provided factory. - stream(int, boolean, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Stream<T>
return type, objects are created with the provided factory. - stream(int, boolean, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in class com.aoapps.dbc.DatabaseConnection
-
Query the database with a
Stream<T>
return type, objects are created with the provided factory. - stream(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
Stream<T>
return type, objects are created with the provided factory. - stream(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
Stream<T>
return type, objects are created with the provided factory. - streamOptional(int, boolean, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Stream<Optional<T>>
return type, objects are created with the provided factory. - streamOptional(int, boolean, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Stream<Optional<T>>
return type, objects are created with the provided factory. - streamOptional(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
Stream<Optional<T>>
return type, objects are created with the provided factory. - streamOptional(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
Stream<Optional<T>>
return type, objects are created with the provided factory. - streamOptionalUpdate(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
Stream<Optional<T>>
return type, objects are created with the provided factory. - streamOptionalUpdate(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
Stream<Optional<T>>
return type, objects are created with the provided factory. - streamString(int, boolean, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Query the database with a
Stream<String>
return type. - streamString(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-only query the database with a
Stream<String>
return type. - streamStringUpdate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
Stream<String>
return type. - streamUpdate(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
Stream<T>
return type, objects are created with the provided factory. - streamUpdate(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
Stream<T>
return type, objects are created with the provided factory. - String - Static variable in class com.aoapps.dbc.ObjectFactories
- STRUCT - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
T
- Table - Class in com.aoapps.dbc.meta
-
A friendly wrapper around database meta data.
- Table(Schema, String, String) - Constructor for class com.aoapps.dbc.meta.Table
- TIME - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- TIME_WITH_TIMEZONE - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- Timestamp - Static variable in class com.aoapps.dbc.ObjectFactories
- TIMESTAMP - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- TIMESTAMP_WITH_TIMEZONE - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- TINYINT - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- toString() - Method in class com.aoapps.dbc.Database
- toString() - Method in class com.aoapps.dbc.meta.Catalog
- toString() - Method in class com.aoapps.dbc.meta.Column
- toString() - Method in class com.aoapps.dbc.meta.DatabaseMetaData
- toString() - Method in class com.aoapps.dbc.meta.Index
- toString() - Method in class com.aoapps.dbc.meta.Schema
- toString() - Method in class com.aoapps.dbc.meta.Table
- transactionCall(DatabaseCallable<? extends V>) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionCall(DatabaseCallable<? extends V>) - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated.
DatabaseConnection
is already within a transaction. - transactionCall(CallableE<? extends V, ? extends SQLException>) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionCall(CallableE<? extends V, ? extends SQLException>) - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated.
DatabaseConnection
is already within a transaction. - transactionCall(Class<? extends Ex>, DatabaseCallableE<? extends V, ? extends Ex>) - Method in class com.aoapps.dbc.Database
- transactionCall(Class<? extends Ex>, DatabaseCallableE<? extends V, ? extends Ex>) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionCall(Class<? extends Ex>, DatabaseCallableE<? extends V, ? extends Ex>) - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated.
DatabaseConnection
is already within a transaction. - transactionCall(Class<? extends Ex>, CallableE<? extends V, ? extends Ex>) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionCall(Class<? extends Ex>, CallableE<? extends V, ? extends Ex>) - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated.
DatabaseConnection
is already within a transaction. - transactionRun(DatabaseRunnable) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionRun(DatabaseRunnable) - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated.
DatabaseConnection
is already within a transaction. - transactionRun(RunnableE<? extends SQLException>) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionRun(RunnableE<? extends SQLException>) - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated.
DatabaseConnection
is already within a transaction. - transactionRun(Class<? extends Ex>, DatabaseRunnableE<? extends Ex>) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionRun(Class<? extends Ex>, DatabaseRunnableE<? extends Ex>) - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated.
DatabaseConnection
is already within a transaction. - transactionRun(Class<? extends Ex>, RunnableE<? extends Ex>) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionRun(Class<? extends Ex>, RunnableE<? extends Ex>) - Method in class com.aoapps.dbc.DatabaseConnection
-
Deprecated.
DatabaseConnection
is already within a transaction.
U
- update(String, Object...) - Method in class com.aoapps.dbc.Database
- update(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Performs an update on the database and returns the number of rows affected.
- update(String, Object...) - Method in class com.aoapps.dbc.DatabaseConnection
- updateBigDecimal(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
BigDecimal
return type. - updateBigDecimalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
BigDecimal
return type. - updateBigDecimalOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
BigDecimal
return type. - updateBigDecimalOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
BigDecimal
return type. - updateBoolean(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
boolean
return type. - updateBooleanNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
Boolean
return type. - updateBooleanOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
Boolean
return type. - updateBooleanOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
Boolean
return type. - updateByteArray(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
byte[]
return type. - updateByteArrayNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
byte[]
return type. - updateByteArrayOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
byte[]
return type. - updateByteArrayOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
byte[]
return type. - updateCall(ResultSetCallable<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database, calling the
ResultSetCallable
once. - updateCall(Class<? extends Ex>, ResultSetCallableE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database, calling the
ResultSetCallableE
once. - updateCollection(C, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
Collection<T>
return type, objects are created with the provided factory. - updateCollection(C, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
Collection<T>
return type, objects are created with the provided factory. - updateDate(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
Date
return type. - updateDateNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
Date
return type. - updateDateOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
Date
return type. - updateDateOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
Date
return type. - updateDouble(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
double
return type. - updateDoubleNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
Double
return type. - updateDoubleOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
Double
return type. - updateDoubleOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
Double
return type. - updateFloat(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
float
return type. - updateFloatNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
Float
return type. - updateFloatOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
Float
return type. - updateFloatOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
Float
return type. - updateInt(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
int
return type. - updateIntList(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an
IntList
return type. - updateIntNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
Integer
return type. - updateIntOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
Integer
return type. - updateIntOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
Integer
return type. - updateList(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
List<T>
return type, objects are created with the provided factory. - updateList(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
List<T>
return type, objects are created with the provided factory. - updateLong(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
long
return type. - updateLongList(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
LongList
return type. - updateLongNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
Long
return type. - updateLongOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
Long
return type. - updateLongOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
Long
return type. - updateNewCollection(Function<? super Integer, ? extends C>, ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
Collection<T>
return type, objects are created with the provided factory. - updateNewCollection(Function<? super Integer, ? extends C>, Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
Collection<T>
return type, objects are created with the provided factory. - updateObject(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
<T>
return type, objects are created with the provided factory. - updateObject(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
<T>
return type, objects are created with the provided factory. - updateObjectNullable(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
<T>
return type, objects are created with the provided factory. - updateObjectNullable(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
<T>
return type, objects are created with the provided factory. - updateObjectOptional(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
<T>
return type, objects are created with the provided factory. - updateObjectOptional(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
<T>
return type, objects are created with the provided factory. - updateObjectOptionalNullable(ObjectFactory<? extends T>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
<T>
return type, objects are created with the provided factory. - updateObjectOptionalNullable(Class<? extends Ex>, ObjectFactoryE<? extends T, ? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
<T>
return type, objects are created with the provided factory. - updateRun(ResultSetRunnable, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database, calling the
ResultSetRunnable
once. - updateRun(Class<? extends Ex>, ResultSetRunnableE<? extends Ex>, String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database, calling the
ResultSetRunnableE
once. - updateShort(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
short
return type. - updateShortNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
Short
return type. - updateShortOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
Short
return type. - updateShortOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
Short
return type. - updateString(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
String
return type. - updateStringList(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a
List<String>
return type. - updateStringNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
String
return type. - updateStringOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
String
return type. - updateStringOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
String
return type. - updateTimestamp(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required non-null
Timestamp
return type. - updateTimestampNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with a required nullable
Timestamp
return type. - updateTimestampOptional(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional non-null
Timestamp
return type. - updateTimestampOptionalNullable(String, Object...) - Method in interface com.aoapps.dbc.DatabaseAccess
-
Read-write query the database with an optional nullable
Timestamp
return type.
V
- valueOf(String) - Static method in enum com.aoapps.dbc.DatabaseAccess.Null
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.aoapps.dbc.DatabaseAccess.Null
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VARBINARY - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
- VARCHAR - Enum constant in enum com.aoapps.dbc.DatabaseAccess.Null
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Database.connect()
or one of the various call/run methods, which enforce the transaction semantics.