-->
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, about performance
PostPosted: Mon Aug 23, 2004 12:39 pm 
Newbie

Joined: Sun Aug 08, 2004 2:38 am
Posts: 9
Hibernate version: 2.1.6

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: mysql 1.4

Debug level Hibernate log excerpt:

I want to program a graphic display like memory monitor in Java 2D example to demostrate real-time changes. I want to refresh the diaplay in less than a minute, so It is a short period of time. But if I fetch the data from database frequently, There will be a large amount of memory usage and the program will be momory killer.

Any ideas? Thanks.

Regards,

_________________
THINK!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 23, 2004 1:47 pm 
Regular
Regular

Joined: Tue Dec 09, 2003 2:39 pm
Posts: 106
Location: Toronto, Canada
Check out the docs. Pay particular attention to the Performance chapter.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 24, 2004 3:28 am 
Newbie

Joined: Sun Aug 08, 2004 2:38 am
Posts: 9
Thanks, I will do it.

_________________
THINK!


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.