Package org.hibernate.result
Interface Output
- All Known Subinterfaces:
ResultSetOutput
,UpdateCountOutput
public interface Output
Common contract for individual return objects which can be either results (
ResultSetOutput
) or update
counts (UpdateCountOutput
).-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determine 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:
true
indicates thatthis
can be safely cast toResultSetOutput
), other wise it can be cast toUpdateCountOutput
.
-