1. change default hibernate mapping strategy for enums stackoverflow.comWhen using Hibernate, the dafault mapping strategy for enums is ORDINAL. Because I think the STRING strategy is more robust, I want to change the default mapping strategy to favor that. Currently ... |
2. Enum default mapping forum.hibernate.orgI'm using the current default annotation: @Enumerated(EnumType.STRING) and @MapKeyEnumerated(EnumType.STRING) I think put enum as String is better for my project. I put all my entities jar in one jar, used as shared api for an using with hibernate and other application which doesn't need hibernate, but need same class which are popolated from XML. I want to set in my maven ... |