Package org.hibernate.result
Interface Outputs
-
- All Known Subinterfaces:
ProcedureOutputs
public interface OutputsRepresents the outputs of executing a JDBC statement accounting for mixing of result sets and update counts hiding the complexity (IMO) of how this is exposed in the JDBC API. The outputs are exposed as a group ofOutputobjects, each representing a single result set or update count. Conceptually, Result presents those Returns as an iterator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OutputgetCurrent()Retrieve the current Output object.booleangoToNext()Go to the next Output object (if any), returning an indication of whether there was another (aka, will the next call togetCurrent()returnnull?voidrelease()Eagerly release any resources held by this Outputs.
-
-
-
Method Detail
-
getCurrent
Output getCurrent()
Retrieve the current Output object.- Returns:
- The current Output object. Can be
null
-
goToNext
boolean goToNext()
Go to the next Output object (if any), returning an indication of whether there was another (aka, will the next call togetCurrent()returnnull?- Returns:
trueif the next call togetCurrent()will return a non-nullvalue.
-
release
void release()
Eagerly release any resources held by this Outputs.
-
-