-->
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: Hibernate 3.1.3 vs. 3.0.2
PostPosted: Tue May 16, 2006 2:21 pm 
Newbie

Joined: Tue Jun 07, 2005 10:46 am
Posts: 15
Is it reasonable to expect that my web app which worked fine with Hibernate 3.0.2 jar file would not work with Hibernate 3.1.3 jar file?

After simply swapping out the jar files Hibernate can't seem to find my hbm.xml files anymore.

I thought I might need to update the configuration and mapping dtd's but that didn't make any differnece either. :(

I really was looking forward to the many to one lazy fix in 3.1.3 .




Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:

Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:

_________________
M Connolly


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 3:35 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
3.1.3 is pretty much a drop in replacement for 3.0.5 and therefore I suspect that you need to update also dependencies jars

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 3:37 pm 
Newbie

Joined: Tue Jun 07, 2005 10:46 am
Posts: 15
thanks. I'll try that. I just noticed that lazy=true isn't supported in this version and that I need to change to lazy=proxy or no-proxy. That might have something to do with it as well.

_________________
M Connolly


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.