-->
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: Upgrade hibernate-annotations and hibernate-validator
PostPosted: Wed Oct 07, 2009 6:48 am 
Regular
Regular

Joined: Tue Feb 17, 2009 5:13 am
Posts: 59
Hi all.
Actually I'm using hibernate-annotations 3.3.1.GA (hibernate 3.2.6.ga) and hibernate-validator 3.0.0.ga but, due to validation problems, I need to upgrade the libraries to hibernate-annotations 3.4.0.GA (hibernate 3.3.2.GA) and hibernate-validator 3.1.0.GA.

When I update my pom.xml file I get a lot of compilation errors. I think there are hibernate packages that have been reallocated in the new version, so I guess I must to add new dependencies. But I am not able to know which.

Examples of packages and classes not founded with the new version:
    - package net.sf.cglib.proxy
    - class MethodInterceptor
    - class MethodProxy
    - class Enhancer
    - class CallbackFilter
    - class Callback

Should I add hibernate-search and/or hibernate-entitymanager dependencies?
Anyone has the same problem?
Any idea?

Thanks in advance!

_________________
Born to lose... live to win!


Top
 Profile  
 
 Post subject: Re: Upgrade hibernate-annotations and hibernate-validator
PostPosted: Mon Oct 26, 2009 3:38 pm 
Regular
Regular

Joined: Tue Feb 17, 2009 5:13 am
Posts: 59
Finally I had to add some dependencies and exclude others:

Code:
<dependency>
   <groupId>cglib</groupId>
   <artifactId>cglib</artifactId>
   <version>2.2</version>
</dependency>
<dependency>
   <groupId>javassist</groupId>
   <artifactId>javassist</artifactId>
   <version>3.8.0.GA</version>
   <optional>true</optional>
</dependency>
<dependency>
   <groupId>org.slf4j</groupId>
   <artifactId>slf4j-log4j12</artifactId>
   <version>1.5.6</version>
</dependency>

_________________
Born to lose... live to win!


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.