288289290291292293294295296
Log log = _conf.getLog(OpenJPAConfiguration.LOG_RUNTIME); if (log.isInfoEnabled()) log.info(_loc.get("make-native-seq")); // create the sequence SchemaTool tool = new SchemaTool(_conf); tool.setIgnoreErrors(true); tool.createSequence(_seq); }
303304305306307308309310311
Log log = _conf.getLog(OpenJPAConfiguration.LOG_RUNTIME); if (log.isInfoEnabled()) log.info(_loc.get("drop-native-seq")); // drop the table SchemaTool tool = new SchemaTool(_conf); tool.setIgnoreErrors(true); tool.dropSequence(_seq); }
275276277278279280281282283
290291292293294295296297298
250251252253254255256257258
265266267268269270271272273
256257258259260261262263264
241242243244245246247248249
520521522523524525526527528
throws SQLException { if (_log.isInfoEnabled()) _log.info(_loc.get("make-seq-table")); // create the table SchemaTool tool = new SchemaTool(_conf); tool.setIgnoreErrors(true); tool.createTable(_pkColumn.getTable()); }
534535536537538539540541542
throws SQLException { if (_log.isInfoEnabled()) _log.info(_loc.get("drop-seq-table")); // drop the table SchemaTool tool = new SchemaTool(_conf); tool.setIgnoreErrors(true); tool.dropTable(_pkColumn.getTable()); }