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

org.hibernate.loader.plan.exec.process.spi.ReturnReader Maven / Gradle / Ivy

There is a newer version: 7.0.0.Alpha1
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 .
 */
package org.hibernate.loader.plan.exec.process.spi;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * Handles reading a single root Return object
 *
 * @author Steve Ebersole
 */
public interface ReturnReader {
	/**
	 * Essentially performs the second phase of two-phase loading.
	 *
	 * @param resultSet The result set being processed
	 * @param context The context for the processing
	 *
	 * @return The read object
	 *
	 * @throws java.sql.SQLException Indicates a problem access the JDBC result set
	 */
	public Object read(ResultSet resultSet, ResultSetProcessingContext context) throws SQLException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy