-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: common validation
PostPosted: Wed Aug 28, 2013 12:01 am 
Newbie

Joined: Tue Aug 27, 2013 11:53 pm
Posts: 2
Hi all,
I want to apply validations using single xml for whole project.So that I can change any constraint.then it will be automatically applied to the fields in a model/entity class.
is there any way to do so ? I don't want seperate xml validation file for each entity class.It may case code duplication and hard to maintain.
any suggestion will be appriciated.
Thanks.


Top
 Profile  
 
 Post subject: Re: common validation
PostPosted: Wed Aug 28, 2013 2:51 am 
Hibernate Team
Hibernate Team

Joined: Sat Jan 24, 2009 12:46 pm
Posts: 388
Answered at https://forum.hibernate.org/viewtopic.php?f=26&t=1028323; Please avoid posting the same question twice.

--Gunnar

_________________
Visit my blog at http://musingsofaprogrammingaddict.blogspot.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.