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