class SqlResultSetMapping implements Annotation (View source)

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.

Properties

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