con = L2DatabaseFactory.getInstance().getConnection();
statement = con.prepareStatement("UPDATE clanhall SET ownerId=?, lease=?, inDebt=0 WHERE id=?");
statement.setInt(1, getOwnerId());
statement.setLong(2, getLease());
statement.setInt(3, getId());
statement.execute();
DatabaseUtils.closeStatement(statement);
statement = con.prepareStatement("UPDATE clan_data SET hasHideout=0 WHERE hasHideout=?");
statement.setInt(1, getId());
statement.execute();
DatabaseUtils.closeStatement(statement);