Modifier and Type | Class and Description |
---|---|
class |
ColumnOutcome<T>
Outcome that returns first column.
|
class |
ListOutcome<T>
Outcome that returns a list.
|
class |
SingleOutcome<T>
Outcome that returns first column in the first row.
|
Modifier and Type | Field and Description |
---|---|
static Outcome<Long> |
Outcome.LAST_INSERT_ID
Outcome that returns last insert ID.
|
static Outcome<Boolean> |
Outcome.NOT_EMPTY
Returns
TRUE if at least one SQL record found in
ResultSet . |
static Outcome<Integer> |
Outcome.UPDATE_COUNT
Outcome that returns the number of updated rows.
|
static Outcome<Void> |
Outcome.VOID
Outcome that does nothing (and always returns
null ). |
Modifier and Type | Method and Description |
---|---|
<T> T |
JdbcSession.insert(Outcome<T> outcome)
Make SQL
INSERT request. |
<T> T |
JdbcSession.select(Outcome<T> outcome)
Make SQL
SELECT request. |
<T> T |
JdbcSession.update(Outcome<T> outcome)
Make SQL
UPDATE request. |
Copyright © 2012–2015 jcabi.com. All rights reserved.