Top Description Methods
org.hibernate.result

public Interface Outputs

Known Direct Subinterfaces
org.hibernate.procedure.ProcedureOutputs
Known Direct Implementers
org.hibernate.result.internal.OutputsImpl

Represents 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 of Output objects, each representing a single result set or update count. Conceptually, Result presents those Returns as an iterator.

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Output

Returns:

The current Output object. Can be null
getCurrent
()

Retrieve the current Output object.

public boolean

Returns:

true if the next call to getCurrent() will return a non-null value.
goToNext
()

Go to the next Output object (if any), returning an indication of whether there was another (aka, will the next call to getCurrent() return null?

public void
release()

Eagerly release any resources held by this Outputs.

Method Detail

getCurrentback to summary
public Output getCurrent()

Retrieve the current Output object.

Returns:Output

The current Output object. Can be null

goToNextback to summary
public boolean goToNext()

Go to the next Output object (if any), returning an indication of whether there was another (aka, will the next call to getCurrent() return null?

Returns:boolean

true if the next call to getCurrent() will return a non-null value.

releaseback to summary
public void release()

Eagerly release any resources held by this Outputs.