问题
I'm working on a project where I am using JBoss Tools to reverse engineer an MS SqlServer database into Hibernate objects. I am wondering if there is a way to map some of the tables in my schema to Java enums? Can this be configured in the hibernate.reveng.xml file? If so, do you have an example? Thanks!
回答1:
This open issue indicates that enums are not supported by hibernate reveng.
来源:https://stackoverflow.com/questions/7679044/hibernate-reverse-engineering-mapping-a-table-to-java-enum