private static final boolean deletePackage(int accid, int packageid, int chrId) { Connection con = DatabaseConnection.getConnection(); try { PreparedStatement ps = con.prepareStatement( "DELETE from hiredmerch where accountid = ? OR packageid = ? OR characterid = ?"); ps.setInt(1, accid); ps.setInt(2, packageid); ps.setInt(3, chrId); ps.executeUpdate(); ps.close(); ItemLoader.HIRED_MERCHANT.saveItems(null, packageid); return true; } catch (SQLException e) { } return false; }