[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-733) @Immutable documentation improvement

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Jun 27 03:46:20 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30524 ] 

Emmanuel Bernard commented on ANN-733:
--------------------------------------

AFAIK Hardy now talks about the root entity in the doc which clear the superclass doubt. The next step is to raise exceptions when immutable is in improbable places.

> @Immutable documentation improvement
> ------------------------------------
>
>                 Key: ANN-733
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-733
>             Project: Hibernate Annotations
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Emmanuel Bernard
>            Assignee: Hardy Ferentschik
>             Fix For: 3.4.0.CR2
>
>
> from  Paul Benedict 
> Documentation needs further clarification. @Immutable is also allowed on a method/field. If it is applied with a @ManyToOne, is it saying the association is immutable (you can set it but not update it), or the target entity is immutable? Should be defined and also in the API.

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