public void estadoUTodosFuncionarios(final long cedula){
        getHibernateTemplate().execute(new HibernateCallback() {
            public Object doInHibernate(Session session) throws HibernateException, SQLException {
                Query query = session.createQuery("update PosFuncEstado set fesEstado = 'U' where fesCedula = ?");
                query.setLong(0, cedula);
                query.executeUpdate();
                return null;  //To change body of implemented methods use File | Settings | File Templates.
            }
        });
        getHibernateTemplate().flush();
    }