NamedNativeQuery
in package
implements
Annotation
Is used to specify a native SQL named query.
The NamedNativeQuery annotation can be applied to an entity or mapped superclass.
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $name : string
- The name used to refer to the query with the EntityManager methods that create query objects.
- $query : string
- The SQL query string.
- $resultClass : string
- The class of the result.
- $resultSetMapping : string
- The name of a SqlResultSetMapping, as defined in metadata.
Properties
$name
The name used to refer to the query with the EntityManager methods that create query objects.
public
string
$name
$query
The SQL query string.
public
string
$query
$resultClass
The class of the result.
public
string
$resultClass
$resultSetMapping
The name of a SqlResultSetMapping, as defined in metadata.
public
string
$resultSetMapping