On  Feb 19, 2009, at 10:52, Hardy Ferentschik wrote:

On Wed, 18 Feb 2009 18:44:52 +0100, Emmanuel Bernard <emman...@hibernate.org > wrote:

in the previous example, we would have two constraint violation reports:
 - c.b is invalid
 - d.b is invalid

Can you tell me on which side you are?

I agree there is a problem. I don't like the idea of getting two constraint violations though. Would it be an alternative to let ConstraintViolation.getPropertyPath() return an array of
path strings?


That makes ConstraintViolation much harder to use.
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to