-->
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.  [ 1 post ] 
Author Message
 Post subject: how to deal with reference tables using Hibernate
PostPosted: Tue May 30, 2006 5:15 pm 
Newbie

Joined: Tue May 30, 2006 4:52 pm
Posts: 1
hello,

I need help in that matter. it seems the answer is unreachable :-)

Hibernate version: 3.1
database: mySQL
application server: Jboss 4.0.1

I write an application with JBossAS (mention above) and Hibernate.
I have Reference tables, means tables that can be updated rarely. there are no updates to be made there.
I have two question:

1. How is the best way to work with Ref. tables using Hibernate? i mean, from performance point of view - (using batch fetch, lazy strategy or something else). i want to bring all data of those tables into the cache (so i need to enable the second level cache) - what is the best way to do it?

2. I want to load all the ref data (there are millions of rows) to the cache while jboss startup. how can i do it? i didn't find anything about loaing mass tables while the server is up?

thanks in advance,
Rafi


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.