You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by zhourui <zh...@zoneland.net> on 2019/02/12 12:46:01 UTC
help! how to drop table by coding?
i find some sample in openjpa source code like:
MappingTool tool = new MappingTool(conf, "drop", false);
SchemaTool schemaTool = new SchemaTool(conf, "drop");
schemaTool.setSchemaGroup(tool.getSchemaGroup());
schemaTool.run();
org.apache.openjpa.persistence.jdbc.schema.TestSchemaGenerationProperties.java
but it is not work!
how can i drop table programmatically.
--
Sent from: http://openjpa.208410.n2.nabble.com/OpenJPA-Users-f208411.html