Execute sql script after jpa/EclipseLink created tables?

后端 未结 6 688
一个人的身影
一个人的身影 2021-01-01 23:24

is there a possibility to execute an sql script, after EclipseLink generated the ddl?
In other words, is it possible that the EclipseLink property \"eclipselink.ddl-gene

6条回答
  •  一向
    一向 (楼主)
    2021-01-01 23:35

    This process offers executing sql before DDL statments whereas what would be nice (for example, to insert seed data ) is to have something which executes after DDL statements. I don't if I am missing something here. Can somebody please tell me how to execute sql AFTER eclipselink has created tables (when create-tables property is set to tru)

提交回复
热议问题