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
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
$columns
Specifies the result set mapping to scalar values.
public
array<string|int, ColumnResult>
$columns
= []
$entities
Specifies the result set mapping to entities.
public
array<string|int, EntityResult>
$entities
= []
$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