-->
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.  [ 7 posts ] 
Author Message
 Post subject: Perfomance while upgrading from version 2 to 3
PostPosted: Tue Jun 21, 2005 1:13 pm 
Newbie

Joined: Tue Jun 21, 2005 1:02 pm
Posts: 12
I am working through the process of upgrading from Hibernate 2.1.8 to Hibernate 3.0. With relatively minor changes, I have our testing program up and running with Hibernate 3.0. When I run this test, it takes about 683 seconds. When using Hibernate 2.1.8, the same test took about 30 seconds to run.

I'm sure I have missed something real basic here, but I don't see anything that points me in the right direction. Does anyone have any roadmaps for upgrading that will help me track this down?

Thanx,
Jim


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 1:23 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Whats wrong with the Migration Guide?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 1:55 pm 
Newbie

Joined: Tue Jun 21, 2005 1:02 pm
Posts: 12
I read the migration guide to help with my migration. It does not address performance problems before, during or after the migration.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 2:21 pm 
Expert
Expert

Joined: Mon Feb 14, 2005 12:32 pm
Posts: 609
Location: Atlanta, GA - USA
jaweis wrote:
I read the migration guide to help with my migration. It does not address performance problems before, during or after the migration.


Most likely, you haven't updated the DTD in your mapping files.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 2:30 pm 
Newbie

Joined: Tue Jun 21, 2005 1:02 pm
Posts: 12
All of my mapping files have the following dtd (I'm pretty sure this is the correct dtd):

<!DOCTYPE hibernate-mapping PUBLIC
"-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 3:56 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
So find out where the time is spent. You would have already if you followed the guidelines here (read: debug log): http://www.hibernate.org/ForumMailingli ... AskForHelp


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 21, 2005 4:20 pm 
Newbie

Joined: Tue Jun 21, 2005 1:02 pm
Posts: 12
I did read the guidelines before posting. I was hoping the description would jog somebody's memory who had the same problem.

Sorry if I wasted you bandwidth...


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