public void test(final int idPeople, final String email){
        getHibernateTemplate().execute(new HibernateCallback() {
            public Object doInHibernate(Session session) throws HibernateException, SQLException {
                Query query = session.createQuery(
                        "update PhpposPeopleEntity set address1 = 'U', email = ? where personId = ? "
                );
                query.setString(0, email);
                query.setInteger(1, idPeople);
                query.executeUpdate();
                return null;
            }
        });
        getHibernateTemplate().flush();
    }