mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1663: Implement @NamedNativeQuery and @SqlResultSetMapping #2091
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Feb 21, 2012).
Jira issue originally created by user @FabioBatSilva:
You may also express queries in the native SQL dialect of your database.
This is useful if you want to utilize database specific features.
The NamedNativeQuery is used to specify a native SQL named query.
The SqlResultSetMapping is used to specify the mapping of the result of a native SQL query.
The NamedNativeQuery and SqlResultSetMapping annotations/xml/yml can be applied to an entity or mapped superclass.