|
As I said... that observation is consistent with Hibernate "not seeing" the @Enumerated when processing the mapping information. And again, that would not be database specific; it would happen regardless of the database.
That said, I have just been unable to reproduce this at all. I just pushed a test case with your exact domain model (sans some even more base-base class Entity), and the test passes. The nature attribute is seen as enumerated, and even more it is seen as a STRING-valued enumerated. And btw, that is all without any specific @Column info.
So I am going to reject this. If you can adapt the test I wrote (in absence of one from you), or you can upload one that illustrates an actual problem I will re-open. The test I wrote is org.hibernate.test.annotations.enumerated.mappedSuperclass.EnumeratedWithMappedSuperclassTest#testHHH10128
|