Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.x
    • Component/s: DQL, ORM
    • Security Level: All
    • Labels:
      None

      Description

      Setting such a query hint to TRUE should result in all entities being retrieved by that query to be read-only for the purposes of change-tracking. Note that the entities themselves need not necessarily be read-only in general.

      This feature is a flush performance tweak that can be used to query for objects but not let the returned objects run through change-tracking on flush. Any other managed objects are tracked as usual so you can do a read-only query for 100 entities and persist a new entity in the same unit of work with optimal flushing performance.

        Activity

        Roman S. Borschel created issue -
        Roman S. Borschel made changes -
        Field Original Value New Value
        Parent DDC-209 [ 10612 ]
        Issue Type New Feature [ 2 ] Sub-task [ 5 ]
        Benjamin Eberlei made changes -
        Fix Version/s 2.x [ 10090 ]
        Fix Version/s 2.1 [ 10022 ]
        Hide
        Konstantin added a comment -

        Any news?
        Why query hint? What about temporary switching like fetch mode changing via query object?

        Show
        Konstantin added a comment - Any news? Why query hint? What about temporary switching like fetch mode changing via query object?
        Hide
        Gigi Largeanus added a comment -

        Any news on this?

        I think this is a must have feature. Thanks for all your work.

        Show
        Gigi Largeanus added a comment - Any news on this? I think this is a must have feature. Thanks for all your work.
        Benjamin Eberlei made changes -
        Workflow jira [ 11628 ] jira-feedback [ 13864 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback [ 13864 ] jira-feedback2 [ 15728 ]
        Benjamin Eberlei made changes -
        Workflow jira-feedback2 [ 15728 ] jira-feedback3 [ 17985 ]

        This list may be incomplete, as errors occurred whilst retrieving source from linked applications:

        • Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-691, expand=changesets[0:20].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)

          People

          • Assignee:
            Roman S. Borschel
            Reporter:
            Roman S. Borschel
          • Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated: