Top Description Methods
org.hibernate.result

public Interface ResultSetOutput

extends Output
Known Direct Implementers
org.hibernate.result.internal.ResultSetOutputImpl
Imports
java.util.List

Models a return that is a result set.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public List<E>

Returns:

The consumed ResultSet values.
getResultList
()

Consume the underlying java.sql.ResultSet and return the resulting List.

public Object

Returns:

The single result.
getSingleResult
()

Consume the underlying java.sql.ResultSet with the expectation that there is just a single level of root returns.

Inherited from org.hibernate.result.Output:
isResultSet

Method Detail

getResultListback to summary
public List<E> getResultList()

Consume the underlying java.sql.ResultSet and return the resulting List.

Returns:List<E>

The consumed ResultSet values.

getSingleResultback to summary
public Object getSingleResult()

Consume the underlying java.sql.ResultSet with the expectation that there is just a single level of root returns.

Returns:Object

The single result.