/** * Drops the table from the JDBC connection. * * @param table Represents the corresponding table to be dropped. */ private void dropTable(TableSQL table) { try { myStatement.executeUpdate(table.toDropString()); } catch (SQLException sqle) { sqle.printStackTrace(); } }
private void lockTable(TableSQL table) { try { myStatement.executeUpdate(table.toExclusiveLockString()); } catch (SQLException sqle) { sqle.printStackTrace(); } }