[hibernate-dev] [HV] Programmatic definition of method level constraints

Emmanuel Bernard emmanuel at hibernate.org
Fri Apr 8 04:47:37 EDT 2011


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




More information about the hibernate-dev mailing list