DDC-1672: [GH-293] by FabioBatSilva: [DDC-1663]Native SQL Query Result Set Mappings #2101

Closed
opened 2026-01-22 13:40:57 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Feb 29, 2012).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user @beberlei:

This issue is created automatically through a Github pull request on behalf of {username}:

Url: https://github.com/doctrine/doctrine2/pull/293

Message:

Hello

http://www.doctrine-project.org/jira/browse/DDC-1663

This patch adds support for native query mapping
This is not complete yet but a would like to get your sugestions about this.

The following annotations have been added :

@NamedNativeQuery : Is used to specify a native SQL named query.

@SqlResultSetMapping: Is used to specify the mapping of the result of a native SQL query.

@EntityResult: References an entity in the SELECT clause of a SQL query.

@FieldResult: Is used to map the columns specified in the SELECT list of the query to the properties or fields of the entity class.

@ColumnResult : References name of a column in the SELECT clause of a SQL query. (scalar values)

It is a very big feature so any suggestion are welcome. :)

Thanks

Originally created by @doctrinebot on GitHub (Feb 29, 2012). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user @beberlei: This issue is created automatically through a Github pull request on behalf of {username}: Url: https://github.com/doctrine/doctrine2/pull/293 Message: Hello http://www.doctrine-project.org/jira/browse/[DDC-1663](http://www.doctrine-project.org/jira/browse/DDC-1663) This patch adds support for native query mapping This is not complete yet but a would like to get your sugestions about this. The following annotations have been added : `@NamedNativeQuery` : Is used to specify a native SQL named query. `@SqlResultSetMapping`: Is used to specify the mapping of the result of a native SQL query. `@EntityResult`: References an entity in the SELECT clause of a SQL query. `@FieldResult`: Is used to map the columns specified in the SELECT list of the query to the properties or fields of the entity class. `@ColumnResult` : References name of a column in the SELECT clause of a SQL query. (scalar values) It is a very big feature so any suggestion are welcome. :) Thanks
admin added the Bug label 2026-01-22 13:40:57 +01:00
admin closed this issue 2026-01-22 13:40:57 +01:00
Author
Owner

@doctrinebot commented on GitHub (Mar 14, 2012):

Comment created by @beberlei:

DDC-1663 duplicate

@doctrinebot commented on GitHub (Mar 14, 2012): Comment created by @beberlei: [DDC-1663](http://www.doctrine-project.org/jira/browse/DDC-1663) duplicate
Author
Owner

@doctrinebot commented on GitHub (Mar 14, 2012):

Issue was closed with resolution "Duplicate"

@doctrinebot commented on GitHub (Mar 14, 2012): Issue was closed with resolution "Duplicate"
Author
Owner

@doctrinebot commented on GitHub (Mar 22, 2012):

Comment created by @beberlei:

A related Github Pull-Request [GH-293] was
https://github.com/doctrine/doctrine2/pull/293

@doctrinebot commented on GitHub (Mar 22, 2012): Comment created by @beberlei: A related Github Pull-Request [GH-293] was https://github.com/doctrine/doctrine2/pull/293
Author
Owner

@doctrinebot commented on GitHub (Nov 13, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-293] was closed:
https://github.com/doctrine/dbal/pull/293

@doctrinebot commented on GitHub (Nov 13, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-293] was closed: https://github.com/doctrine/dbal/pull/293
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2101