Search code examples
javahibernateenumshibernate-mappingjboss-tools

Hibernate reverse engineering - mapping a table to Java enum


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!


Solution

  • This open issue indicates that enums are not supported by hibernate reveng.