开发者

Hibernate reverse engineering - mapping a table to Java enum

开发者 https://www.devze.com 2023-04-11 12:18 出处:网络
I\'m working on a project where I am using JBoss 开发者_Python百科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

I'm working on a project where I am using JBoss 开发者_Python百科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!


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号