mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #293] [DDC-1663]Native SQL Query Result Set Mappings #7988
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?
Original Pull Request: https://github.com/doctrine/orm/pull/293
State: closed
Merged: Yes
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