Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: substituting the error message at run time
PostPosted: Wed Dec 23, 2009 7:38 am 
Newbie

Joined: Tue Dec 22, 2009 6:29 am
Posts: 5
Hi All,

Can you please advice me, how can substitute the error message with runtime values?

@NotNull(message="Name should not {somekey} be empty")
private String name;

At runtime,i will have some value for "somekey". When this is violated, i would like to get a error message substituted with this key.

Please advice.

Regards,
Prashant


Top
 Profile  
 
 Post subject: Re: substituting the error message at run time
PostPosted: Tue Feb 16, 2010 7:01 am 
Newbie

Joined: Fri Jan 29, 2010 7:32 am
Posts: 2
Hi,
I am facing the same issue. Did you have any suggestion?
Thanks.
Emiliano


Top
 Profile  
 
 Post subject: Re: substituting the error message at run time
PostPosted: Tue Aug 03, 2010 8:34 am 
Newbie

Joined: Tue Aug 03, 2010 8:31 am
Posts: 1
Hi,

I am facing the same issue. Did you have any suggestion? Thanks.

Tarot


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.