Documentation

SqlResultSetMapping
in package
implements MappingAttribute

FinalYes

The SqlResultSetMapping annotation is used to specify the mapping of the result of a native SQL query.

The SqlResultSetMapping annotation can be applied to an entity or mapped superclass.

Tags
Annotation
Target

("ANNOTATION")

Table of Contents

Interfaces

MappingAttribute
A marker interface for mapping attributes.

Properties

$columns  : array<string|int, ColumnResult>
Specifies the result set mapping to scalar values.
$entities  : array<string|int, EntityResult>
Specifies the result set mapping to entities.
$name  : string
The name given to the result set mapping, and used to refer to it in the methods of the Query API.

Properties

$name

The name given to the result set mapping, and used to refer to it in the methods of the Query API.

public string $name

        
On this page

Search results