[hibernate-dev] [BV] Limiting Default and @GroupSequence

Hardy Ferentschik hibernate at ferentschik.de
Fri Jun 19 03:00:02 EDT 2009


I think this is a good idea. It makes things easier at group resolution  
time without
really loosing any functionality.

--Hardy

On Thu, 18 Jun 2009 23:47:51 +0200, Emmanuel Bernard  
<emmanuel at hibernate.org> wrote:

> Begin forwarded message:
>
>> From: Emmanuel Bernard <emmanuel.bernard at jboss.com>
>> Date:  June 18, 2009 17:47:12  EDT
>> To: Java Community Process JSR #303 Expert List <JSR-303-EG at JCP.ORG>
>> Subject: Limiting Default and @GroupSequence
>>
>> In order to keep group sequences as orthogonal as possible to the
>> idea of Default overriding I was thinking of restricting what can be
>> done here.
>> More specifically, I would like to add the following sentence in the
>> spec:
>>
>> Groups part of a sequence overriding Default on a class Z
>> (@GroupSequence) cannot be used in any other group or sequence.
>>
>> This would allow the sequence computations to be more easily
>> independent of the class they are applied on. I was trying to find a
>> use case where this would interfere but I have not so far.
>>
>> WDYT?






More information about the hibernate-dev mailing list