You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Pawel Veselov <pa...@gmail.com> on 2012/01/17 00:57:10 UTC

enumerated primary keys

Hi.

I was wondering why enumerations aren't allowed as primary keys? They have
to be enumerated as strings or integers, so there isn't much difference
between enumeration and a string/integer, except that there is an extra
step of picking the right enumeration value at transition...

Thanks,
  Pawel.