Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 555
Tom Avatar asked Jun 09 '26 16:06

Tom


1 Answers

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

like image 126
Christian Avatar answered Jun 11 '26 05:06

Christian