T
- Type of the returned result, which has to be Object[]public final class StoredProcedureOutcome<T> extends Object implements Outcome<T>
LAST_INSERT_ID, NOT_EMPTY, UPDATE_COUNT, VOID
Constructor and Description |
---|
StoredProcedureOutcome(int... indexes)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
T |
handle(ResultSet rset,
Statement stmt)
Process the result set and return some value.
|
public StoredProcedureOutcome(int... indexes)
indexes
- Indexes of the OUT params.
Index count starts from 1.public T handle(ResultSet rset, Statement stmt) throws SQLException
Outcome
handle
in interface Outcome<T>
rset
- The result set to processstmt
- The statement used in the runSQLException
- If something goes wrong insideCopyright © 2012–2018 jcabi.com. All rights reserved.