You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Tino Schöllhorn <t....@tiscali.de> on 2004/07/15 08:30:46 UTC

ObjectCacheDefaultImpl and many databases

Hi,

currently I am using OJB 1.0 am I think this is just a great tool. But 
there is one thing I don't completely understand: I have an 
(web)-application which serves different clients. Each client has an own 
database - but these databases have the identical scheme. Due to that I 
am running into troubles when using ObjectCacheDefaultImpl because that 
cache-implementation maps all cached object to one static Map (using 
ObjectCachePerBrokerImpl isn't an option for us for performance reasons).

So I wondered if you intend to extend the capabilities of 
ObjectCacheDefaultImpl so that it could cache differnent - but 
schematicall identical - databases?

Currently I modified theObjectCacheDefaultImpl so that it works for me. 
But I am sure this would help other too, so - if it is of interest - I 
can donate my (quite simple) changes.

With regards
Tino Schöllhorn


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: ObjectCacheDefaultImpl and many databases

Posted by Armin Waibel <ar...@apache.org>.
Hi Tino,

I agree with you, caching in 1.0 isn't sophisticated.
For OJB 1.1 we completely rewriting the caching stuff.
Please have a look at
this for more info about new caching
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=ojb-dev@db.apache.org&msgNo=8350

for more info about 1.1 generally
http://wiki.apache.org/db-ojb/OJBNextSteps
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=ojb-dev@db.apache.org&msgNo=8328

Any comments and suggestions are welcome.

regards,
Armin

Tino Schöllhorn wrote:
> Hi,
> 
> currently I am using OJB 1.0 am I think this is just a great tool. But 
> there is one thing I don't completely understand: I have an 
> (web)-application which serves different clients. Each client has an own 
> database - but these databases have the identical scheme. Due to that I 
> am running into troubles when using ObjectCacheDefaultImpl because that 
> cache-implementation maps all cached object to one static Map (using 
> ObjectCachePerBrokerImpl isn't an option for us for performance reasons).
> 
> So I wondered if you intend to extend the capabilities of 
> ObjectCacheDefaultImpl so that it could cache differnent - but 
> schematicall identical - databases?
> 
> Currently I modified theObjectCacheDefaultImpl so that it works for me. 
> But I am sure this would help other too, so - if it is of interest - I 
> can donate my (quite simple) changes.
> 
> With regards
> Tino Schöllhorn
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org