Generate JPA 2 Entities from existing Database

前端 未结 9 915
春和景丽
春和景丽 2020-11-28 05:52

How can I generate JPA2 compliant @Entity from existing Databases?.

I found this: Question

Still its not clear if JBoss will generate compliant JPA2 and also

9条回答
  •  庸人自扰
    2020-11-28 06:00

    You can use a plugin like Eclipse Dali to do the trick for you. You can refer to the documentation, section 3.11 Generating Entities from Tables.

    I do not know of any specific vendor independent tool to do this, though.

提交回复
热议问题