-->
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: Basic questions
PostPosted: Tue Aug 24, 2004 6:13 pm 
Newbie

Joined: Tue Aug 24, 2004 5:36 pm
Posts: 16
Hibernate version:2.1

1) I have a table of 100 Millions lines, does it make sens to map this table with hibernate ? what are the must to know when dealing with this kind of tables ? how to limit the caches size for long run ?

2) mapping question : in a legacy table, I have the following columns

countryId
branchName
dataCol

I have to map countryId to class Country with table T_COUNTRY
and countryId + branchName to Branch with table T_BRANCH

the composite id countryId + branchName uses countryId again thus the trouble : I should mark Branch as insert="false" and update="false" !

what is the right way to model this situation so the insert and update become possible for branch ?

TIA

Qiang


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.