Skip to content

Loading…

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

Closed
doctrinebot opened this Issue · 4 comments

2 participants

@doctrinebot

Jira issue originally created by user @beberlei:

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

Url: #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

@doctrinebot

Comment created by @beberlei:

DDC-1663 duplicate

@doctrinebot

Issue was closed with resolution "Duplicate"

@doctrinebot

Comment created by @beberlei:

A related Github Pull-Request [GH-293] was
#293

@doctrinebot

Comment created by @doctrinebot:

A related Github Pull-Request [GH-293] was closed:
doctrine/dbal#293

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot closed this
@doctrinebot doctrinebot added the Bug label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.