NamedNativeQuery
in package
implements
MappingAttribute
FinalYes
Is used to specify a native SQL named query.
The NamedNativeQuery annotation can be applied to an entity or mapped superclass.
Tags
Table of Contents
Interfaces
- MappingAttribute
- A marker interface for mapping attributes.
Properties
- $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