Is it possible to use an enum as a discriminator value when using SINGLE_TABLE inheritance strategy?
A:
To my knowledge, this is not possible with annotations:
- discriminator value must be of type
String
- discriminator value must be a compile-time-constant, i.e. return values from methods on enums are not allowed.
Pascal Thivent
2010-09-03 22:15:09