Hi,

I'm a newbie.
When validating a class, how to use values of dynamic parameters into a 
validation error message?
I explain, I want to take into account parameters which will be included into 
the text of the message referenced by EXCEPTION_ID id into a resource file. 
What is the best mean to do please?

1) @FilenameUnicity(message = "EXCEPTION_ID", (paramsToPutIntoTheMessage)???, 
groups = {
    Default.class, Specific.class })
 2) MessageInterpolator???

Thanks a lot.


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

Reply via email to