Re: [hibernate-dev] null values in validation

2010-10-16 Thread Dag Hovland
On 15/10/10 10:55, Hardy Ferentschik wrote: > I added some comments to > http://opensource.atlassian.com/projects/hibernate/browse/HV-390 > If you want to get some feedback regarding the code I suggest you attach a > patch to the > issue or you use the new possibilities we have now through the mov

Re: [hibernate-dev] null values in validation

2010-10-15 Thread Emmanuel Bernard
On 15 oct. 2010, at 10:55, Hardy Ferentschik wrote: >> >> Another thing we wondered about is the default behaviour of built-in >> constraints when they validate null values. Are they supposed to succeed >> on null values by default? > > That's a suggestion by the Bean Validation Specification.

Re: [hibernate-dev] null values in validation

2010-10-15 Thread Hardy Ferentschik
> we managed to implement a first version of boolean composition for the > validator, and it seems to require very few changes to the code. Nice :) > We also opened an issue on Jira about that. I added some comments to http://opensource.atlassian.com/projects/hibernate/browse/HV-390 If you wa

[hibernate-dev] null values in validation

2010-10-14 Thread Federico Mancini
Hi, we managed to implement a first version of boolean composition for the validator, and it seems to require very few changes to the code. We also opened an issue on Jira about that. From the tests we ran, the constraints seem to be evaluated correctly, but we have some strange behaviour re