Hi,
first of all thanks for your quick reply.
JIRA is filed:
http://opensource.atlassian.com/project ... se/ANN-657
Hope this is ok so.
My last question was unclear.
Quote:
By the way is it possible to change the default mapping of all Enum for all occurencies in any property, instead of using
@Enumerated(value=EnumType.STRING)
on all properties?
What I was looking for is an annotation
for the key word
Code:
enum
e.g.
Code:
public enum KnownCountries {
which changes the default behavior for this enum for every property where I used that enum as property.
Is this also against JPA?
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.
Greetings Michael