[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-605) docs say @Enumerated(STRING), should be @Enumerated(EnumType.STRING)
Diego Pires Plentz (JIRA)
noreply at atlassian.com
Fri May 18 00:02:04 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_26978 ]
Diego Pires Plentz commented on ANN-605:
----------------------------------------
Yup, without the "EnumType." it looks hard to understand (mainly to people who is starting with java5+)
> docs say @Enumerated(STRING), should be @Enumerated(EnumType.STRING)
> --------------------------------------------------------------------
>
> Key: ANN-605
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-605
> Project: Hibernate Annotations
> Issue Type: Improvement
> Components: documentation
> Reporter: Anatol
> Priority: Minor
> Fix For: 3.3.1
>
> Attachments: Enumerated.patch
>
>
> as stated in the summary: http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/ has an example with enums, using @Enumerated(STRING) , which does not work. Correct syntax: @Enumerated(EnumType.STRING)
--
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