[hibernate-issues] [Hibernate-JIRA] Created: (ANN-658) Annotation or the key word "enum" to change default behaviour to @Enumerated(value=EnumType.STRING) for all properties.

Michael Grünewald (JIRA) noreply at atlassian.com
Tue Sep 4 09:04:14 EDT 2007


Annotation or the key word "enum" to change default behaviour to @Enumerated(value=EnumType.STRING)  for all properties.
------------------------------------------------------------------------------------------------------------------------

                 Key: ANN-658
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-658
             Project: Hibernate Annotations
          Issue Type: Sub-task
    Affects Versions: 3.3.0.ga
         Environment: hibernate 3.2.4.sp1; PostgresSql 8.2
            Reporter: Michael Grünewald


Hi, what I'm  looking for is an annotation
for the key word
enum

e.g.
public enum KnownCountries {

which changes the default behavior for this enum for every property where I used that enum as property.

At least it would be more convenient if you can change the default and only have to change it, on properties where you don't want your own default type.

See
http://forum.hibernate.org/viewtopic.php?p=2363187#2363187
for more details.

Greetings Michael

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