Package org.hibernate.result
Interface Output
- All Known Subinterfaces:
ResultSetOutput,UpdateCountOutput
public interfaceOutputCommon contract for individual return objects which can be either results (ResultSetOutput) or update counts (UpdateCountOutput).
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisResultSet()Determine if this return is a result (castable toResultSetOutput).
Method Detail
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), other wise it can be cast toUpdateCountOutput.