org.hibernate.result.ResultSetOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beangle-hibernate-core Show documentation
Show all versions of beangle-hibernate-core Show documentation
Hibernate Orm Core Shade,Support Scala Collection
/*
* 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.result;
import java.util.List;
/**
* Models a return that is a result set.
*
* @author Steve Ebersole
*/
public interface ResultSetOutput extends Output {
/**
* Consume the underlying {@link java.sql.ResultSet} and return the resulting List.
*
* @return The consumed ResultSet values.
*/
List getResultList();
/**
* Consume the underlying {@link java.sql.ResultSet} with the expectation that there is just a single level of
* root returns.
*
* @return The single result.
*/
Object getSingleResult();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy