Uses of Interface
com.jcabi.jdbc.Outcome
-
-
Uses of Outcome in com.jcabi.jdbc
Classes in com.jcabi.jdbc that implement Outcome Modifier and Type Class Description classColumnOutcome<T>Outcome that returns first column.classListOutcome<T>Outcome that returns a list.classSingleOutcome<T>Outcome that returns first column in the first row.classStoredProcedureOutcome<T>Outcome of a stored procedure with OUT parameters.Fields in com.jcabi.jdbc declared as Outcome Modifier and Type Field Description static Outcome<Long>Outcome. LAST_INSERT_IDOutcome that returns last insert ID.static Outcome<Boolean>Outcome. NOT_EMPTYReturnsTRUEif at least one SQL record found inResultSet.static Outcome<Integer>Outcome. UPDATE_COUNTOutcome that returns the number of updated rows.static Outcome<Void>Outcome. VOIDOutcome that does nothing (and always returnsnull).Methods in com.jcabi.jdbc with parameters of type Outcome Modifier and Type Method Description <T> TJdbcSession. call(Outcome<T> outcome)Call an SQL stored procedure.<T> TJdbcSession. insert(Outcome<T> outcome)Make SQLINSERTrequest.<T> TJdbcSession. select(Outcome<T> outcome)Make SQLSELECTrequest.<T> TJdbcSession. update(Outcome<T> outcome)Make SQLUPDATErequest.
-