-->
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: org.hibernate.validator.Pattern not found
PostPosted: Thu Sep 01, 2016 12:51 am 
Newbie

Joined: Thu Sep 01, 2016 12:43 am
Posts: 1
Hi All,

I am moving old application to a new version. I have came across org.hibernate.validator.Pattern in not found issue. What is the latest package that should be used with org.hibernate.validator.Pattern annotation???

Thank you.


Top
 Profile  
 
 Post subject: Re: org.hibernate.validator.Pattern not found
PostPosted: Thu Sep 08, 2016 6:03 am 
Hibernate Team
Hibernate Team

Joined: Sat Jan 24, 2009 12:46 pm
Posts: 388
As of Hibernate Validator 4.x/5.x it implements the Bean Validation specfication (JSR 303/349). There is a pattern constraint now in the BV API, javax.validation.constraints.Pattern. I also recommend to check out the guide at https://access.redhat.com/documentation ... or_41.html for more information on migrating from HV 3.x to 4.x. Information on migrating from HV 4 onwards can be found at https://developer.jboss.org/wiki/Hibern ... ationGuide.

Hth,

--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.