-->
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.  [ 3 posts ] 
Author Message
 Post subject: Where is the BeanValidationEventListener ?
PostPosted: Fri Oct 23, 2009 5:55 pm 
Newbie

Joined: Fri Oct 23, 2009 5:41 pm
Posts: 2
Hi,
I'm trying the new Hibernate-validator 4.0.0.GA.
In the documentation Item 6.2 "ORM integration", its written that Hibernate Validator has a built-in Hibernate event listener ( http://fisheye.jboss.org/browse/Hiberna ... rnate/cfg/ ). The documentation I'm referring about is located here: http://www.hibernate.org/hib_docs/v3/re ... erence.pdf

So, the BeanValidationEventListener is supposed to be in the Hibernate-annotations jar, but I can't find it.
I checked the latest hibernate-annotations:3.4.0.GA and no lucky.

Where is it?
Does that mean that Hibernate-validator 4.0.0.GA. is not integrated with Hibernate?

Thank you,

Paulo


Top
 Profile  
 
 Post subject: Re: Where is the BeanValidationEventListener ?
PostPosted: Mon Oct 26, 2009 5:36 pm 
Hibernate Team
Hibernate Team

Joined: Thu Apr 05, 2007 5:52 am
Posts: 1689
Location: Sweden
Hi,

BeanValidationEventListener is part of Annoations 3.5 and as such not really released yet. Have a look at this thread - viewtopic.php?f=9&t=999747 . It hopefully gives you some ideas on what to do next.

To answer to your question. Hibernate Validator will be integrated into into Hibernate Core, but for now you will have to add your own version of BeanValidationEventListener to your code base.

--Hardy


Top
 Profile  
 
 Post subject: Re: Where is the BeanValidationEventListener ?
PostPosted: Mon Oct 26, 2009 10:07 pm 
Newbie

Joined: Fri Oct 23, 2009 5:41 pm
Posts: 2
Exactly what I though.
Thanks for replying.
Cheers,
Paulo


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