0 Replies Latest reply on Aug 14, 2006 12:05 PM by Barry Kaplan

    Hibernate validator exceptions get lost in RollbackException

    Barry Kaplan Newbie

      I am using hibernate validator with hibernate entity-manager. JbossTM is invoking HV during beforeCompletion. When hibernate validator throws an InvalidStateException, AbstractEntityManager rethrows as PersistenceException.

      The exception is then handled by JbossTM, which utlimately throws RollbackException. This exception contains neither a cause nor message. Does anybody else experience this behavior? Might this be a problem?