All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.result.package-info Maven / Gradle / Ivy

There is a newer version: 6.6.2.Final
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */

/**
 * 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. *

    *
  • {@link org.hibernate.result.Outputs} represents the overall group of results. *
  • {@link org.hibernate.result.Output} represents the mixed individual outcomes, * which might be either a {@link org.hibernate.result.ResultSetOutput} or * a {@link org.hibernate.result.UpdateCountOutput}. *
*

*

 *     Outputs outputs = ...;
 *     while ( outputs.goToNext() ) {
 *         final Output output = outputs.getCurrent();
 *         if ( rtn.isResultSet() ) {
 *             handleResultSetOutput( (ResultSetOutput) output );
 *         }
 *         else {
 *             handleUpdateCountOutput( (UpdateCountOutput) output );
 *         }
 *     }
 * 
*/ package org.hibernate.result;




© 2015 - 2024 Weber Informatics LLC | Privacy Policy