openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pawel Veselov <pawel.vese...@gmail.com>
Subject enumerated primary keys
Date Mon, 16 Jan 2012 23:57:10 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message