Hibernate update que retorne um boolean é possivel?

Existe alguma função dentro do hibernate que faça Update e retorne uma variavel?

Pra q?