[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4578) Criteria is missing read-only flag

Shawn Clowater (JIRA) noreply at atlassian.com
Mon Nov 16 12:29:08 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34620#action_34620 ] 

Shawn Clowater commented on HHH-4578:
-------------------------------------

Ales,

Take a peek at http://opensource.atlassian.com/projects/hibernate/browse/HHH-2501 where I was playing with a read-only at the session level.  I can't remember the complete details but my last comment seems to imply that I had tried working with the read-only at the criteria level but it was only affecting the root entity and not anything loaded via a many to one.

I'm not sure if that is still the case or if it even matters.

> 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
>         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