DDC-209: Add the notion of read-only entities #260

Closed
opened 2026-01-22 12:32:38 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Dec 14, 2009).

Jira issue originally created by user romanb:

This may include:

  • a doctrine.readOnly query hint
  • a @ReadOnly annotation or xml/yaml descriptor element

Useful mainly for optimization purposes to tell doctrine to ignore such objects for any change tracking (except the initial creation/insert, of course).

Originally created by @doctrinebot on GitHub (Dec 14, 2009). Jira issue originally created by user romanb: This may include: - a doctrine.readOnly query hint - a @ReadOnly annotation or xml/yaml descriptor element Useful mainly for optimization purposes to tell doctrine to ignore such objects for any change tracking (except the initial creation/insert, of course).
admin added the New Feature label 2026-01-22 12:32:38 +01:00
admin closed this issue 2026-01-22 12:32:38 +01:00
Author
Owner

@doctrinebot commented on GitHub (Dec 14, 2009):

@doctrinebot commented on GitHub (Dec 14, 2009): - is required for [DDC-1386: getPartialReference() will result in data loss if default values are used](http://www.doctrine-project.org/jira/browse/DDC-1386)
Author
Owner

@doctrinebot commented on GitHub (Aug 26, 2010):

Comment created by romanb:

DDC-692 might make it into 2.0. The query hint is definitely out of scope for that release.

@doctrinebot commented on GitHub (Aug 26, 2010): Comment created by romanb: [DDC-692](http://www.doctrine-project.org/jira/browse/DDC-692) might make it into 2.0. The query hint is definitely out of scope for that release.
Author
Owner

@doctrinebot commented on GitHub (Mar 29, 2011):

Comment created by @beberlei:

Implemented DDC-692 for inclusion in 2.1, however move the query hint to 2.x

@doctrinebot commented on GitHub (Mar 29, 2011): Comment created by @beberlei: Implemented [DDC-692](http://www.doctrine-project.org/jira/browse/DDC-692) for inclusion in 2.1, however move the query hint to 2.x
Author
Owner

@doctrinebot commented on GitHub (Oct 15, 2011):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Oct 15, 2011): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#260