Re: [hibernate-dev] Introduce a constraint @NoNullElements

2010-04-26 Thread Hardy Ferentschik
On Sun, 25 Apr 2010 18:57:16 +0200, Gunnar Morling wrote: > I recently thought about adding a constraint @NoNullElements to Hibernate > Validator. It would apply to iterables/arrays/maps and would ensure, > well, that the annotated collection contains no nulls. Whether a @NoNullElements woul

[hibernate-dev] Introduce a constraint @NoNullElements

2010-04-25 Thread Gunnar Morling
Hi, I recently thought about adding a constraint @NoNullElements to Hibernate Validator. It would apply to iterables/arrays/maps and would ensure, well, that the annotated collection contains no nulls. There is a method noNullElements() in Commons Lang's Validator class, which I find useful quite