https://gist.github.com/903302#file_1_method_configuration.java
seems the one that makes most sense by far to me. The other options tend to 
make method a super concept that is not symmetric with .property()

What does 
//this version doesn't break the compatibility
means on other versions?

Emmanuel

On 8 avr. 2011, at 10:31, Kevin Pollet wrote:

> Hi guys,
> 
> I'm working on HV-431, 
> http://opensource.atlassian.com/projects/hibernate/browse/HV-431. 
> 
> The aim of this issue is to extend the programmatic API to allow constraints 
> definition on methods in a programmatic way. I've discussed with Hardy about 
> some proposals and I've made a gist to expose the different possibility, look 
> at https://gist.github.com/903302. 
> 
> Comments and new proposals are welcome :)
> 
> --Kevin

_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to