class UserStore {

    public boolean delete(int id) {
        boolean done = false;
        if (ADDRESS_STORE.delete(id)) {
            try (Connection con = CON.getConnect()) {
                this.deleteUserType(con, id);
                try (PreparedStatement st2 = con.prepareStatement(QUERIES.getProperty("deleteUser"))) {
                    st2.setInt(1, id);
                    done = st2.executeUpdate() > 0;
                }
            } catch (SQLException e) {
                LOG.error(e.getMessage(), e);
            }
        }
        return done;
    }

}