[hibernate-dev] GenericConstraintDef extends raw ConstraintDef

2010-10-10 Thread Dag Hovland
xtends ConstraintDef and also replacing the "Class" in the argument to the method "constraintType" with "Class. Regards, Dag Hovland and Federico Mancini ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev

Re: [hibernate-dev] null values in validation

2010-10-16 Thread Dag Hovland
ieve "@NotNull" should always be seen as a conjunction. It should, for example, not be part of an "OR". For example: @NotNull @Size(min=2,max=10) @Bool(OR) @SomeConstraint{...} would not really make sense, since if @NotNull fails, @Size would hold. Regards, D

Re: [hibernate-dev] On possible extensions for the validator

2010-10-16 Thread Dag Hovland
gt; world to the users. You will need to "group" cross field constraints though: > as I see it on the paper, you can only have one group of cross level > constraint for a given constraint type per class. I do not really understand this. Can you give an example? Dag Hovland