Skip navigation links
A C E G H I J L M N O P S U V 

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.
com.jcabi.jdbc - package com.jcabi.jdbc
JDBC wrapper.
commit() - Method in class com.jcabi.jdbc.JdbcSession
Commit the transaction (calls Connection.commit() and then Connection.close()).

E

execute() - Method in class com.jcabi.jdbc.JdbcSession
Make SQL request expecting no response from the server.

G

getConnection() - Method in class com.jcabi.jdbc.StaticSource
 
getConnection(String, String) - Method in class com.jcabi.jdbc.StaticSource
 
getDate() - Method in class com.jcabi.jdbc.Utc
Get date that is encapsulated.
getLoginTimeout() - Method in class com.jcabi.jdbc.StaticSource
 
getLogWriter() - Method in class com.jcabi.jdbc.StaticSource
 
getParentLogger() - Method in class com.jcabi.jdbc.StaticSource
 
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 INSERT request.
isWrapperFor(Class<?>) - Method in class com.jcabi.jdbc.StaticSource
 

J

JdbcSession - Class in com.jcabi.jdbc
Universal JDBC wrapper.
JdbcSession(DataSource) - Constructor for class com.jcabi.jdbc.JdbcSession
Public ctor.

If all you have is a Connection, wrap it inside our StaticSource, but make sure you understand the autocommit mechanism we have in place here.

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(ListOutcome.Mapping<T>) - Constructor for class com.jcabi.jdbc.ListOutcome
Public ctor.
ListOutcome.Mapping<T> - Interface in com.jcabi.jdbc
Mapping.

M

map(ResultSet) - Method in interface com.jcabi.jdbc.ListOutcome.Mapping
Map.

N

NOT_EMPTY - Static variable in interface com.jcabi.jdbc.Outcome
Returns TRUE if at least one SQL record found in ResultSet.

O

Outcome<T> - Interface in com.jcabi.jdbc
Outcome of ResultSet.

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.

S

select(Outcome<T>) - Method in class com.jcabi.jdbc.JdbcSession
Make SQL SELECT request.
set(Object) - Method in class com.jcabi.jdbc.JdbcSession
Set new parameter for the query.
setLoginTimeout(int) - Method in class com.jcabi.jdbc.StaticSource
 
setLogWriter(PrintWriter) - Method in class com.jcabi.jdbc.StaticSource
 
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.
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
 
update(Outcome<T>) - Method in class com.jcabi.jdbc.JdbcSession
Make SQL UPDATE request.
UPDATE_COUNT - Static variable in interface com.jcabi.jdbc.Outcome
Outcome that returns the number of updated rows.
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).
A C E G H I J L M N O P S U V 
Skip navigation links

Copyright © 2012–2019 jcabi.com. All rights reserved.