Castor JDO maintains an object cache internally for it's own use.
what is the life cycle of this object cache ?
The only way to utilize this object cache is to use Castor JDO to handle object-to-relational mapping in an application. Does this answer your question?
but how do we handle the most recent changes made to the database from some other application , i mean how to refresh the object cache or is it done by the persistence manager. is there any documentation or user guide on JDO persistence manager.can we use Castor JDO just for caching (i.e just loading into memory ) and not do any transaction ( insert or update )to the database.
pash
From: Bruce Snyder <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] Cache Management Question
Date: Wed, 30 Oct 2002 23:01:29 -0700 (MST)
This one time, at band camp, Prashant Nehete said:
PN>We have some constant data in the database which is updated very frequently
PN>, once a year or so.
PN>This data is updated from some other application. Now that we need to read
PN>this data and cache
PN>this into memory. Doing this would minimize database i/o's for each user
PN>accessing our application.
PN>Is it possible to do using castor jdo. If is it possible , please also let
PN>us know how to set up
PN>cache management and we appreciate if there are some examples doing this.
Pash,
Castor JDO maintains an object cache internally for it's own use.
The only way to utilize this object cache is to use Castor JDO to
handle object-to-relational mapping in an application. Does this
answer your question?
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
_________________________________________________________________
Get faster connections�-- switch to�MSN Internet Access! http://resourcecenter.msn.com/access/plans/default.asp
----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
