-->
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: Creating a new validator
PostPosted: Mon Apr 28, 2008 1:57 pm 
Newbie

Joined: Thu Jan 31, 2008 3:58 pm
Posts: 3
Hey guys,

I created a custom validator for Hibernate but for this I had to change hibernate-annotations.jar i.e. I create this validator as part of the org.hibernate.validator package.

Is this the only way to create a custom validator? Is there another way to do this without changing hibernate's jar files? Please, please let me know.

Thanks!


Top
 Profile  
 
 Post subject: Re: Creating a new validator
PostPosted: Mon Apr 28, 2008 7:03 pm 
Newbie

Joined: Mon Apr 21, 2008 5:07 pm
Posts: 6
hi

are you sure that you need to change the standard package? I wouldn't use the same package as that one from hibernate :D

Look here are the original informations about hibernate validators
..if you have specific questions why not send your source here to the forum ;)

[url]
http://www.hibernate.org/412.html
http://www.hibernate.org/hib_docs/valid ... ml_single/
[/url]

sapphire wrote:
Hey guys,

I created a custom validator for Hibernate but for this I had to change hibernate-annotations.jar i.e. I create this validator as part of the org.hibernate.validator package.

Is this the only way to create a custom validator? Is there another way to do this without changing hibernate's jar files? Please, please let me know.

Thanks!


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.