[hibernate-dev] Fwd: [jsr-303-eg] Make payload optional
hibernate at ferentschik.de
Mon Jul 6 05:19:33 EDT 2009
I think that making the payload attribute optional is ok, but I also vote
the groups optional. As you say, it has become a very important mechanism.
And really, how much harder do this requirements make it to develop
On Fri, 03 Jul 2009 12:06:41 +0200, Emmanuel Bernard
<emmanuel at hibernate.org> wrote:
>> I was talking to Mike Keith from Oracle the other day and he became
>> concerned at us adding more and more mandatory attributes to
>> constraint definitions.
>> He was proposing to make the payload attribute optional. In other
>> words, custom annotations would not have to add this property,
>> though the spec would recommend it and all built-in annotations
>> would have it.
>> The idea is to keep life easy for constraint developers.
>> I am sympathetic to the idea, anybody fiercely against?
>> PS: Mike was also arguing for making groups optional but I am more
>> reluctant on that, groups has become an important mechanism in BV,
>> so I would keep that mandatory. Thoughts?
More information about the hibernate-dev