Details
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
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Parent |
|
|
| Issue Type | New Feature [ 2 ] | Sub-task [ 5 ] |
Benjamin Eberlei
made changes -
| Fix Version/s | 2.x [ 10090 ] | |
| Fix Version/s | 2.1 [ 10022 ] |
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 ] |