Start here, if you mean table auto generation. BUT: this does not work to my knowledge without redeploy/container restart. I mean if your app is running and table removed it is not generated again automagically this way.
Look up the persistence property javax.persistence.schema-generation.database.action, with a value of "create"
user3973283
–
user3973283
2018-03-01 18:03:00 +00:00
CommentedMar 1, 2018 at 18:03
Hi I am already using a similar property <property name="eclipselink.ddl-generation" value="create-tables"/>. But basically you are spot on @pirho, is there a way if the table is removed to be generated again?
@Entityclass?javax.persistence.schema-generation.database.action, with a value of "create"<property name="eclipselink.ddl-generation" value="create-tables"/>. But basically you are spot on @pirho, is there a way if the table is removed to be generated again?