Package org.hibernate.result

Defines support for dealing with database results, accounting 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 );
         }
     }