[hibernate-dev] Country-Specific Constraints

2011-06-16 Thread George Gastaldi
Hello !

I am working on HV-491 (Support the validation using MOD11 algorithm)
that is used on validation of several personal identification
documents (including Brazil).

I was talking with Hardy about adding these country-specific
constraints on a separate package (like "br" for Brazil, "fr" for
France, etc) so that a standard is placed when new country specific
constraints are needed.

WDYT ?

Regards,

George Gastaldi
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] Country-Specific Constraints

2011-06-16 Thread George Gastaldi
Cool ! I already implemented something on
https://github.com/gastaldi/hibernate-validator/tree/feature%2Fmod11

I would like your opinions on how to improve it

Thanks !

2011/6/16 Emmanuel Bernard :
> +1 for separate sub packages
>
> On 16 juin 2011, at 16:50, George Gastaldi wrote:
>
>> Hello !
>>
>> I am working on HV-491 (Support the validation using MOD11 algorithm)
>> that is used on validation of several personal identification
>> documents (including Brazil).
>>
>> I was talking with Hardy about adding these country-specific
>> constraints on a separate package (like "br" for Brazil, "fr" for
>> France, etc) so that a standard is placed when new country specific
>> constraints are needed.
>>
>> WDYT ?
>>
>> Regards,
>>
>> George Gastaldi
>> ___
>> hibernate-dev mailing list
>> hibernate-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] [seam-dev] Hibernate Search Module

2011-06-27 Thread George Gastaldi
IMHO, it makes more sense to belong to Hibernate Search than in the
Persistence Module
WDYT ?

2011/6/27 Jason Porter 

> Pete had mentioned it should belong in Hibernate Search as a CDI
> integration instead of Seam.
>
> On Mon, Jun 27, 2011 at 15:27, Shane Bryzak  wrote:
>
>> **
>> This belongs in the persistence module, we need to coordinate with Stuart
>> and Emmanuel to determine how we get it in there (I don't think it will be
>> much work).
>>
>> Shane
>>
>>
>> On 28/06/11 05:19, Jason Porter wrote:
>>
>> We just finished having a meeting about a Hibernate Search Module (
>> http://people.redhat.com/~manderse/irc.freenode.org/meetings/hibernate-dev/2011/hibernate-dev.2011-06-27-17.03.html).
>> One of the questions we need answered is where this module should live. If
>> we want it part of Hibernate Search or if it should have the Seam name and
>> branding along with it. What are your thoughts on this? Please see the
>> minutes for ideas that were discussed.
>>
>> --
>> Jason Porter
>> http://lightguard-jp.blogspot.com
>> http://twitter.com/lightguardjp
>>
>> Software Engineer
>> Open Source Advocate
>> Author of Seam Catch - Next Generation Java Exception Handling
>>
>> PGP key id: 926CCFF5
>> PGP key available at: keyserver.net, pgp.mit.edu
>>
>>
>> ___
>> seam-dev mailing 
>> listseam-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/seam-dev
>>
>>
>>
>
>
> --
> Jason Porter
> http://lightguard-jp.blogspot.com
> http://twitter.com/lightguardjp
>
> Software Engineer
> Open Source Advocate
> Author of Seam Catch - Next Generation Java Exception Handling
>
> PGP key id: 926CCFF5
> PGP key available at: keyserver.net, pgp.mit.edu
>
> ___
> seam-dev mailing list
> seam-...@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
>
>
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] MethodLevel Constraints for method level validations

2011-07-08 Thread George Gastaldi
Cool Stuff !! +1

2011/7/8 Emmanuel Bernard 

> Do you think we should support the following?
>
> @DateInOrder
> void bookHotel(@NotNull @Valid Customer customer, Date from, Date to);
>
> ie like we have properly level and class level constraints, we could get
> method level constraints receiving all the parameters and raising
> constraints violations if necessary.
>
> Emmanuel
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev


Re: [hibernate-dev] MethodLevel Constraints for method level validations

2011-07-08 Thread George Gastaldi
I think you should.

2011/7/8 Emmanuel Bernard 

> BTW I forgot but do we support Constructor validation?
>
> On 8 juil. 2011, at 16:02, Emmanuel Bernard wrote:
>
> > Do you think we should support the following?
> >
> > @DateInOrder
> > void bookHotel(@NotNull @Valid Customer customer, Date from, Date to);
> >
> > ie like we have properly level and class level constraints, we could get
> method level constraints receiving all the parameters and raising
> constraints violations if necessary.
> >
> > Emmanuel
> > ___
> > hibernate-dev mailing list
> > hibernate-dev@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
>
> ___
> hibernate-dev mailing list
> hibernate-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
___
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev