DDC-1663: Implement @NamedNativeQuery and @SqlResultSetMapping #2091

Open
opened 2026-01-22 13:40:25 +01:00 by admin · 0 comments
Owner

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.

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.
admin added the New Feature label 2026-01-22 13:40:25 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2091