492493494495496497498499500501502
tool.setWriter(flags.sqlWriter); tool.setOpenJPATables(flags.openjpaTables); } tool.setSchemaGroup(getSchemaGroup()); tool.run(); tool.record(); } } // xml output of schema?
500501502503504505506507508509510
tool.setOpenJPATables(flags.openjpaTables); tool.setSQLTerminator(flags.sqlTerminator); } tool.setSchemaGroup(getSchemaGroup()); tool.run(); tool.record(); tool.clear(); } }
tool.setWriter(flags.sqlWriter); tool.setOpenJPATables(flags.openjpaTables); } tool.setSchemaGroup(getSchemaGroup()); tool.run(); tool.record(); tool.clear(); } }
496497498499500501502503504505506
593594595596597598599600601602603
SchemaTool st = new SchemaTool(conf, SchemaTool.ACTION_DROPDB); st.setIgnoreErrors(true); st.setOpenJPATables(true); st.setIndexes(false); st.setPrimaryKeys(false); st.run(); } finally { conf.close(); } }
499500501502503504505506507508509
589590591592593594595596597598599
st.setIndexes(false); st.setPrimaryKeys(false); if (!SchemaTool.ACTION_DROPDB.equals(action)) { st.setSchemaGroup(st.getDBSchemaGroup()); } st.run(); } private void immediateDropDB(ConnectionProperties props) throws Exception { if (ctx != null) { ctx.destroy();
598599600601602603604605606607608