If you don't vote, who will? Login and vote now.
By intesar
via mdshannan1.blogspot.com
Published: Sep 07 2010 / 10:39
![]() | |
| BIRT 3.7 | |
| Written by: Michael Williams | |
| Featured Refcardz: Top Refcardz: | |
| 150+ Refcardz Available · Get them all | |
By intesar
via mdshannan1.blogspot.com
Published: Sep 07 2010 / 10:39
Comments
majson replied ago:
Nothing more than in jpa doc.
henk replied ago:
This is indeed a little too basic for most developers. I was expecting some additional info like mapping your own ordinal or taking advantage of native enums in a DB. Yet, maybe some absolute beginner will find a need for this, so I voted the article up anyway ;)
intesar replied ago:
checkout this more advance mapping
http://mdshannan1.blogspot.com/2010/09/jpa-20-enums-with-custom-values.html
devdanke replied ago:
I definitely like the idea of using a short string (as short as possible) to map an enum to a database column, rather than using a number. It's easier to make sense of a string indicating the meaning of the enum compared to a cryptic number.
Voters For This Link (12)
Voters Against This Link (1)