-->
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 efficiency
PostPosted: Wed Oct 13, 2004 6:49 am 
Newbie

Joined: Thu Sep 16, 2004 11:53 pm
Posts: 3
there are 2 tables.
table 1: main table. 6 fields, 1 string field, 2 date fields, 3 number fields.
table 2: child table. 3 fields, 1 string field, 2 number fields. and in number fields, one is foreign key to main table, and one is primary key.
1000 records in main table.
2000 records in child table.
1 main record leads 2 child record.

now use hibernate to load these objects. about spending how much time?
<b>without hibernate cache</b>.

I'm not familiar with hibernate. and i build a package to implement the function, but i feel my package is slowly. So I want to compare the time between hibernate and my package. Who can help me to test the case and tell me the result of hibernate?


btw, few characters in both string field at 2 tables.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 13, 2004 8:52 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Please search the forum and website for "benchmarks" and you will see why these trivial tests are meaningless.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 13, 2004 10:15 pm 
Newbie

Joined: Thu Sep 16, 2004 11:53 pm
Posts: 3
christian wrote:
Please search the forum and website for "benchmarks" and you will see why these trivial tests are meaningless.

thanks a lot.

I just feel my package is too slowly, so I want to know the performence of hibernate. Not meaing to say what is good, & what is bad. because the performence is approximately. and if i have the time, i will improve my package.

btw, my machine is MySQL4.0.21, Windows2K SP4, 512M, P4 1.8G. Database server is in my own machine.


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.