Re: [hibernate-dev] HV-376

2011-02-08 Thread Gunnar Morling
Alright I'll implement it like that then, the API is already changed as proposed ( https://github.com/gunnarmorling/hibernate-validator/blob/dcabe3141ae1c3aa07fdc2745a135e19a8188553/hibernate-validator/src/main/java/org/hibernate/validator/method/metadata/TypeDescriptor.java ) > > For HV 4.2 we

Re: [hibernate-dev] HV-376

2011-02-08 Thread Emmanuel Bernard
On 8 févr. 2011, at 12:01, Hardy Ferentschik wrote: > On Tue, 08 Feb 2011 10:21:40 +0100, Emmanuel Bernard > wrote: > >> Let me summarize: >> - BD extends TD >> - BD#getConstrainedMethod() returns constraints getters and methods (*) >> - BD#isBeanConstrained() does not change contract >> >> (

Re: [hibernate-dev] HV-376

2011-02-08 Thread Hardy Ferentschik
On Tue, 08 Feb 2011 10:21:40 +0100, Emmanuel Bernard wrote: > Let me summarize: > - BD extends TD > - BD#getConstrainedMethod() returns constraints getters and methods (*) > - BD#isBeanConstrained() does not change contract > > (*) it's the logical approach but I feel like it might be inconv

Re: [hibernate-dev] HV-376

2011-02-08 Thread Emmanuel Bernard
On 8 févr. 2011, at 09:20, Gunnar Morling wrote: > > 2011/2/7 Emmanuel Bernard > Hi, > > On 6 févr. 2011, at 20:57, Gunnar Morling wrote: > >> >> one other issue we might/should deliver for Beta2 is >> http://opensource.atlassian.com/projects/hibernate/browse/HV-371 ("Support >> method-leve

Re: [hibernate-dev] HV-376

2011-02-08 Thread Gunnar Morling
Answers inline. Gunnar 2011/2/7 Emmanuel Bernard > Hi, > > On 6 févr. 2011, at 20:57, Gunnar Morling wrote: > > > one other issue we might/should deliver for Beta2 is > http://opensource.atlassian.com/projects/hibernate/browse/HV-371 ("Support > method-level constraints in meta-data API"), at

Re: [hibernate-dev] HV-376

2011-02-07 Thread Emmanuel Bernard
Hi, On 6 févr. 2011, at 20:57, Gunnar Morling wrote: > > one other issue we might/should deliver for Beta2 is > http://opensource.atlassian.com/projects/hibernate/browse/HV-371 ("Support > method-level constraints in meta-data API"), at least API-wise. I pushed a > first draft to > https://g