[hibernate-dev] Help to intoduce dynamic parameters into a message
Johann Jmml
jmmljo at yahoo.fr
Fri Jun 4 08:16:38 EDT 2010
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.
More information about the hibernate-dev
mailing list