[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4578) Criteria is missing read-only flag
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Nov 16 13:29:08 EST 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34625#action_34625 ]
Steve Ebersole commented on HHH-4578:
-------------------------------------
@Ales We should allow the same capability on Criteria as we do on HQL. AFAICT this was just an oversight.
@Shawn The issue is with *lazy* proxies. AFAIK if the association is non-lazy or if the association is fetched the "read only" will propagate.
> Criteria is missing read-only flag
> ----------------------------------
>
> Key: HHH-4578
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4578
> Project: Hibernate Core
> Issue Type: Improvement
> Components: query-criteria
> Affects Versions: 3.5.0-Beta-2
> Reporter: Ales Justin
> Fix For: 3.5
>
> Attachments: readOnly.patch
>
>
> Query API has a notion of read-only, whereas Criteria doesn't.
> * https://forum.hibernate.org/viewtopic.php?p=2353610&sid=98ea30c01ac78df6ac344cf72652b338
> Is this intentional or oversight?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list