A C D E F G H I J L M N O P R S U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- autocommit(boolean) - Method in class com.jcabi.jdbc.JdbcSession
-
Shall we auto-commit?
C
- call(Outcome<T>) - Method in class com.jcabi.jdbc.JdbcSession
-
Call an SQL stored procedure.
- clear() - Method in class com.jcabi.jdbc.JdbcSession
-
Clear all pre-set parameters (args, preparations, etc).
- ColumnOutcome<T> - Class in com.jcabi.jdbc
-
Outcome that returns first column.
- ColumnOutcome(Class<T>) - Constructor for class com.jcabi.jdbc.ColumnOutcome
-
Public ctor.
- ColumnOutcome(Class<T>, Outcome.Mappings) - Constructor for class com.jcabi.jdbc.ColumnOutcome
-
Public ctor.
- com.jcabi.jdbc - package com.jcabi.jdbc
-
JDBC wrapper.
- commit() - Method in class com.jcabi.jdbc.JdbcSession
-
Commit the transaction (calls
Connection.commit()and thenConnection.close()).
D
- DEFAULT_MAPPINGS - Static variable in interface com.jcabi.jdbc.Outcome
-
Default mappings.
E
- execute() - Method in class com.jcabi.jdbc.JdbcSession
-
Make SQL request expecting no response from the server.
F
- forType(Class<? extends T>) - Method in interface com.jcabi.jdbc.Outcome.Mappings
-
Mapping for a type.
G
- getConnection() - Method in class com.jcabi.jdbc.StaticSource
- getConnection() - Method in class com.jcabi.jdbc.UrlSource
- getConnection(String, String) - Method in class com.jcabi.jdbc.StaticSource
- getConnection(String, String) - Method in class com.jcabi.jdbc.UrlSource
- getDate() - Method in class com.jcabi.jdbc.Utc
-
Get date that is encapsulated.
- getLoginTimeout() - Method in class com.jcabi.jdbc.StaticSource
- getLoginTimeout() - Method in class com.jcabi.jdbc.UrlSource
- getLogWriter() - Method in class com.jcabi.jdbc.StaticSource
- getLogWriter() - Method in class com.jcabi.jdbc.UrlSource
- getParentLogger() - Method in class com.jcabi.jdbc.StaticSource
- getParentLogger() - Method in class com.jcabi.jdbc.UrlSource
- getTimestamp(ResultSet, int) - Static method in class com.jcabi.jdbc.Utc
-
Retrieve timestamp from the result set.
H
- handle(ResultSet, Statement) - Method in class com.jcabi.jdbc.ColumnOutcome
- handle(ResultSet, Statement) - Method in class com.jcabi.jdbc.ListOutcome
- handle(ResultSet, Statement) - Method in interface com.jcabi.jdbc.Outcome
-
Process the result set and return some value.
- handle(ResultSet, Statement) - Method in class com.jcabi.jdbc.SingleOutcome
- handle(ResultSet, Statement) - Method in class com.jcabi.jdbc.StoredProcedureOutcome
I
- insert(Outcome<T>) - Method in class com.jcabi.jdbc.JdbcSession
-
Make SQL
INSERTrequest. - isWrapperFor(Class<?>) - Method in class com.jcabi.jdbc.StaticSource
- isWrapperFor(Class<?>) - Method in class com.jcabi.jdbc.UrlSource
J
- JdbcSession - Class in com.jcabi.jdbc
-
Universal JDBC wrapper.
- JdbcSession(DataSource) - Constructor for class com.jcabi.jdbc.JdbcSession
-
Public ctor.
L
- LAST_INSERT_ID - Static variable in interface com.jcabi.jdbc.Outcome
-
Outcome that returns last insert ID.
- ListOutcome<T> - Class in com.jcabi.jdbc
-
Outcome that returns a list.
- ListOutcome(Outcome.Mapping<T>) - Constructor for class com.jcabi.jdbc.ListOutcome
-
Public ctor.
M
- map(ResultSet) - Method in interface com.jcabi.jdbc.Outcome.Mapping
-
Map.
N
- NOT_EMPTY - Static variable in interface com.jcabi.jdbc.Outcome
-
Returns
TRUEif at least one SQL record found inResultSet.
O
- Outcome<T> - Interface in com.jcabi.jdbc
-
Outcome of ResultSet.
- Outcome.Mapping<T> - Interface in com.jcabi.jdbc
-
Mapping.
- Outcome.Mappings - Interface in com.jcabi.jdbc
-
Mappings for different types.
P
- Preparation - Interface in com.jcabi.jdbc
-
Preparation of a
PreparedStatement. - prepare(Preparation) - Method in class com.jcabi.jdbc.JdbcSession
-
Run this preparation before executing the statement.
- prepare(PreparedStatement) - Method in interface com.jcabi.jdbc.Preparation
-
Prepares this statement.
R
- rollback() - Method in class com.jcabi.jdbc.JdbcSession
-
Rollback the transaction (calls
Connection.rollback()and thenConnection.close()).
S
- select(Outcome<T>) - Method in class com.jcabi.jdbc.JdbcSession
-
Make SQL
SELECTrequest. - set(Object) - Method in class com.jcabi.jdbc.JdbcSession
-
Set new parameter for the query.
- setLoginTimeout(int) - Method in class com.jcabi.jdbc.StaticSource
- setLoginTimeout(int) - Method in class com.jcabi.jdbc.UrlSource
- setLogWriter(PrintWriter) - Method in class com.jcabi.jdbc.StaticSource
- setLogWriter(PrintWriter) - Method in class com.jcabi.jdbc.UrlSource
- setTimestamp(PreparedStatement, int) - Method in class com.jcabi.jdbc.Utc
-
Convert date to timestamp and save to the statement.
- SingleOutcome<T> - Class in com.jcabi.jdbc
-
Outcome that returns first column in the first row.
- SingleOutcome(Class<T>) - Constructor for class com.jcabi.jdbc.SingleOutcome
-
Public ctor.
- SingleOutcome(Class<T>, boolean) - Constructor for class com.jcabi.jdbc.SingleOutcome
-
Public ctor.
- SingleOutcome(Class<T>, Outcome.Mappings, boolean) - Constructor for class com.jcabi.jdbc.SingleOutcome
-
Public ctor.
- sql(String) - Method in class com.jcabi.jdbc.JdbcSession
-
Use this SQL query (with optional parameters inside).
- StaticSource - Class in com.jcabi.jdbc
-
Static data source which wraps a single
Connection. - StaticSource(Connection) - Constructor for class com.jcabi.jdbc.StaticSource
-
Public ctor.
- StoredProcedureOutcome<T> - Class in com.jcabi.jdbc
-
Outcome of a stored procedure with OUT parameters.
- StoredProcedureOutcome(int...) - Constructor for class com.jcabi.jdbc.StoredProcedureOutcome
-
Ctor.
U
- unwrap(Class<T>) - Method in class com.jcabi.jdbc.StaticSource
- unwrap(Class<T>) - Method in class com.jcabi.jdbc.UrlSource
- update(Outcome<T>) - Method in class com.jcabi.jdbc.JdbcSession
-
Make SQL
UPDATErequest. - UPDATE_COUNT - Static variable in interface com.jcabi.jdbc.Outcome
-
Outcome that returns the number of updated rows.
- UrlSource - Class in com.jcabi.jdbc
-
Data source when all you have is a URL.
- UrlSource(String) - Constructor for class com.jcabi.jdbc.UrlSource
-
Public ctor.
- Utc - Class in com.jcabi.jdbc
-
UTC time zone manipulator.
- Utc() - Constructor for class com.jcabi.jdbc.Utc
-
Public ctor, with current date.
- Utc(Date) - Constructor for class com.jcabi.jdbc.Utc
-
Public ctor.
V
- VOID - Static variable in interface com.jcabi.jdbc.Outcome
-
Outcome that does nothing (and always returns
null).
All Classes All Packages