-->
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.  [ 4 posts ] 
Author Message
 Post subject: read-only caching
PostPosted: Thu Aug 19, 2004 11:01 am 
Newbie

Joined: Thu May 06, 2004 8:14 pm
Posts: 18
Hi, we have a data model pattern on a few tables where data is only ever inserted or selected. Can we use the read-only cache usage model if we are just doing inserts? The documentation is unclear:

"14.3.2: If your application needs to read but never modify instances of a persistent class, a read-only cache may be used."

Creation is not mentioned.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 19, 2004 2:54 pm 
Beginner
Beginner

Joined: Mon Aug 09, 2004 12:31 pm
Posts: 47
Location: New York, NY, USA
SEction 14.3.1:

Code:
<cache
    usage="transactional|read-write|nonstrict-read-write|read-only"
/>

_________________
--DP


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 19, 2004 3:00 pm 
Newbie

Joined: Thu May 06, 2004 8:14 pm
Posts: 18
Ummm, I know all that already. It doesn't answer my question.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 19, 2004 3:05 pm 
Beginner
Beginner

Joined: Mon Aug 09, 2004 12:31 pm
Posts: 47
Location: New York, NY, USA
Yes, I know, I realized that seconds after submitting. Apologies for the noise.

_________________
--DP


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.