Top Description Interfaces Classes
[default module]

Package org.hibernate.result


Defines support for dealing with results returned from database via JDBC.

Accounts for mixed result sets and update counts, hiding the complexity of how this is exposed via the JDBC API.

    Outputs outputs = ...;
    while ( outputs.goToNext() ) {
        final Output output = outputs.getCurrent();
        if ( rtn.isResultSet() ) {
            handleResultSetOutput( (ResultSetOutput) output );
        }
        else {
            handleUpdateCountOutput( (UpdateCountOutput) output );
        }
    }

Interface Summary

Modifier and TypeInterface and Description
public interface
Output

Common contract for individual return objects which can be either results (ResultSetOutput) or update counts (UpdateCountOutput).

public interface
Outputs

Represents the outputs of executing a JDBC statement accounting for mixing of result sets and update counts hiding the complexity of how this is exposed in the JDBC API.

public interface
ResultSetOutput

Models a return that is a result set.

public interface
UpdateCountOutput

Models a return that is an update count (count of rows affected)

Class Summary

Modifier and TypeClass and Description
public class