[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-605?page=co...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira