How can I create a ddl for my jpa entities from java code?

前端 未结 5 946
伪装坚强ぢ
伪装坚强ぢ 2021-02-11 08:15

I look for a way how I can create a ddl for my jpa annotated entities. I prefer a pure java way for this.

If possible it would be nice to have generate the drop statemen

5条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-11 09:02

    DataNucleus has SchemaTool that can be invoked from java, or from the command line. It does what you require

    --Andy (DataNucleus)

提交回复
热议问题