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 annotationSqlResultSetMapping
. At runtime an instance may be obtained by callingsession.getResultSetMapping(type, name)
, or using a typesafe reference produced by some sort of compile-time code generator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
The name of the result set mapping, as specified bySqlResultSetMapping.name()
.Class<T>
getResultType()
The Java result type of the query.
-