Package org.hibernate.reactive.common
Interface ResultSetMapping<T>
- Type Parameters:
T
- the Java result type of the query
public interface ResultSetMapping<T>
Represents the shape of a native SQL query result
set, as specified by an instance of the annotation
SqlResultSetMapping
. At
runtime an instance may be obtained by calling
session.getResultSetMapping(type, name)
, or
using a typesafe reference produced by some sort of
compile-time code generator.-
Method Summary
Modifier and TypeMethodDescriptiongetName()
The name of the result set mapping, as specified bySqlResultSetMapping.name()
.The Java result type of the query.
-
Method Details
-
getName
String getName()The name of the result set mapping, as specified bySqlResultSetMapping.name()
. -
getResultType
The Java result type of the query. For queries which return multiple columns of results in each row, this must beObject[]
.
-