-->
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: Complex Storage Model using Hibernate
PostPosted: Tue Jan 30, 2007 5:52 pm 
Newbie

Joined: Sun Aug 15, 2004 2:52 pm
Posts: 4
Hi,

I am developing an application server that needs a complex Storage Model. I need In memory database, persistence operations and interaction with in memory db and persistence db.

Requirements:
Some Data will be in memory getting from DB, but read only
Some Data will be in memory getting from DB, write-read support to db
Some Data will be in memory but not in DB (no equivalent in db ,if one mapping, no update to db(flush not active this table))

How can i design this model, using second level cache(jboss cache or ehcache)?
All of them possible?


thanks,
Serdar


Top
 Profile  
 
 Post subject: Complex Storage Model using Hibernate
PostPosted: Fri Feb 09, 2007 2:10 pm 
Newbie

Joined: Sun Aug 15, 2004 2:52 pm
Posts: 4
2 is default behaviour of hibernate.
1 is also seems possible using table by table mapping configuration
what about 3?


Top
 Profile  
 
 Post subject: Re: Complex Storage Model using Hibernate
PostPosted: Fri Feb 09, 2007 2:33 pm 
Beginner
Beginner

Joined: Wed Feb 09, 2005 3:27 pm
Posts: 29
smustaoglu wrote:
2 is default behaviour of hibernate.
1 is also seems possible using table by table mapping configuration
what about 3?

Can you give some more detail on what exactly the third requirement entails? It sounds like you want to have virtual/computed columns (e.g. formulas) or that you want to tie in data from other sources. Please elaborate.

Thanks,

-Kaare


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.