Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
S
- SERIALIZABLE - Enum constant in enum class com.blackrook.sql.SQLConnection.TransactionLevel
-
From
Connection
: A constant indicating that dirty reads, non-repeatable reads and phantom reads are prevented. - setAcquireTimeout(long) - Method in class com.blackrook.sql.SQLAbstractDAO
-
Sets this DAO's connection acquisition timeout.
- setFieldValue(Object, Field, Object) - Static method in class com.blackrook.sql.struct.Utils
-
Sets the value of a field on an object.
- setSavepoint() - Method in class com.blackrook.sql.SQLConnection.Transaction
-
Calls
Connection.setSavepoint()
on the encapsulated connection. - setSavepoint(String) - Method in class com.blackrook.sql.SQLConnection.Transaction
-
Calls
Connection.setSavepoint()
on the encapsulated connection. - SQL - Class in com.blackrook.sql
-
Core database utilities object.
- SQLAbstractDAO - Class in com.blackrook.sql
-
Abstract DAO class.
- SQLAbstractDAO(SQLPool) - Constructor for class com.blackrook.sql.SQLAbstractDAO
-
Creates this DAO attached to the provided pool, no connection acquisition timeout.
- SQLAbstractDAO(SQLPool, long) - Constructor for class com.blackrook.sql.SQLAbstractDAO
-
Creates this DAO attached to the provided pool, no connection acquisition timeout.
- SQLAbstractDAO.Criterion - Class in com.blackrook.sql
-
A single criterion.
- SQLAbstractDAO.DataAccessFailureException - Exception in com.blackrook.sql
-
Exception thrown when a Data Access Object fails at storage or retrieval unexpectedly.
- SQLAbstractDAO.DataAccessTimeoutException - Exception in com.blackrook.sql
-
Exception thrown when a Data Access Object fails at storage or retrieval unexpectedly.
- SQLAbstractDAO.Operator - Enum Class in com.blackrook.sql
-
A criterion operator.
- SQLAbstractDAO.Ordering - Class in com.blackrook.sql
-
A single ordering criterion.
- SQLAbstractDAO.QueryStringBuilder - Class in com.blackrook.sql
-
Query string builder.
- SQLCallable - Interface in com.blackrook.sql
-
The interface used for all SQL connections that can have queries performed through them.
- SQLConnection - Class in com.blackrook.sql
-
A wrapped SQL connection for ease-of-querying.
- SQLConnection.Transaction - Class in com.blackrook.sql
-
A transaction object that holds a connection that guarantees an isolation level of some kind.
- SQLConnection.TransactionLevel - Enum Class in com.blackrook.sql
-
Enumeration of transaction levels.
- SQLConnectionConsumer - Interface in com.blackrook.sql.util
-
A special consumer that takes a SQLConnection, but throws
SQLException
s. - SQLConnectionFunction<R> - Interface in com.blackrook.sql.util
-
A special consumer that takes a SQLConnection, but throws
SQLException
s. - SQLConnector - Class in com.blackrook.sql
-
Core database JDBC connector object.
- SQLConnector(String, String) - Constructor for class com.blackrook.sql.SQLConnector
-
Constructs a new database connector.
- SQLConnector(String, String, String, String) - Constructor for class com.blackrook.sql.SQLConnector
-
Constructs a new database connector.
- SQLConnector(String, String, Properties) - Constructor for class com.blackrook.sql.SQLConnector
-
Constructs a new database connector.
- SQLIgnore - Annotation Interface in com.blackrook.sql.hints
-
Placing this annotation on public fields or getter/setter methods on POJOs hints at this field not being included in the resulting collection/table.
- SQLName - Annotation Interface in com.blackrook.sql.hints
-
Placing this annotation on public fields or getter/setter methods on POJOs hints that this field uses a different field or column name in a collection or table.
- SQLPool - Class in com.blackrook.sql
-
This is a database connection pool class for a bunch of shared, managed connections.
- SQLPool(SQLConnector, int) - Constructor for class com.blackrook.sql.SQLPool
-
Creates a new connection pool from a
SQLConnector
. - SQLResult - Class in com.blackrook.sql
-
The data encapsulation of the result of a query
ResultSet
. - SQLResult.SQLResultIterator - Class in com.blackrook.sql
-
The iterator returned to iterate through this result.
- SQLResultIterator() - Constructor for class com.blackrook.sql.SQLResult.SQLResultIterator
- SQLRow - Class in com.blackrook.sql
-
SQLRow object.
- SQLRuntimeException - Exception in com.blackrook.sql.util
-
An exception thrown to wrap a SQLException.
- SQLRuntimeException(IOException) - Constructor for exception com.blackrook.sql.util.SQLRuntimeException
-
Creates a new SQLRuntimeException from an
IOException
. - SQLRuntimeException(String, IOException) - Constructor for exception com.blackrook.sql.util.SQLRuntimeException
-
Creates a new SQLRuntimeException from an
IOException
. - SQLRuntimeException(String, SQLException) - Constructor for exception com.blackrook.sql.util.SQLRuntimeException
-
Creates a new SQLRuntimeException from a
SQLException
. - SQLRuntimeException(SQLException) - Constructor for exception com.blackrook.sql.util.SQLRuntimeException
-
Creates a new SQLRuntimeException from a
SQLException
. - SQLTransactionConsumer - Interface in com.blackrook.sql.util
-
A special consumer that takes a SQLTransaction, but throws
SQLException
s. - SQLTransactionFunction<R> - Interface in com.blackrook.sql.util
-
A special consumer that takes a SQLTransaction, but throws
SQLException
s. - startTransaction(SQLConnection.TransactionLevel) - Method in class com.blackrook.sql.SQLConnection
-
Starts a transaction with a provided level.
- startTransactionAnd(SQLConnection.TransactionLevel, SQLTransactionConsumer) - Method in class com.blackrook.sql.SQLConnection
-
Starts a transaction with a provided level, performs actions on it, then auto-closes it.
- startTransactionAnd(SQLConnection.TransactionLevel, SQLTransactionFunction<R>) - Method in class com.blackrook.sql.SQLConnection
-
Starts a transaction with a provided level, performs actions on it, returns a value, then auto-closes it.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form