Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-1672

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      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

        Activity

        Hide
        Benjamin Eberlei added a comment -

        DDC-1663 duplicate

        Show
        Benjamin Eberlei added a comment - DDC-1663 duplicate
        Hide
        Benjamin Eberlei added a comment -

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

        Show
        Benjamin Eberlei added a comment - A related Github Pull-Request [GH-293] was https://github.com/doctrine/doctrine2/pull/293
        Hide
        Doctrine Bot added a comment -

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

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-293] was closed: https://github.com/doctrine/dbal/pull/293

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Benjamin Eberlei
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: