Package org.hibernate.result
Interface Output
- All Known Subinterfaces:
ResultSetOutput<T>,UpdateCountOutput
public interface Output
Common contract for individual return objects which can be either results (
ResultSetOutput) or update
counts (UpdateCountOutput).-
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermine if this return is a result (castable toResultSetOutput).
-
Method Details
-
isResultSet
boolean isResultSet()Determine if this return is a result (castable toResultSetOutput). The alternative is that it is an update count (castable toUpdateCountOutput).- Returns:
trueindicates thatthiscan be safely cast toResultSetOutput), otherwise it can be cast toUpdateCountOutput.
-