db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Baird" <Matthew.Ba...@motiva.com>
Subject cache refactoring
Date Tue, 05 Aug 2003 21:22:40 GMT
I propose we move the caching information out of OJB.PROPERTIES and into the repository.xml

cache configuration could be done via XML rather than the flat, and limiting, configuration
in the properties file.

Cache settings could exist as a global setting like the jdbc descriptor, and could be over-ridden
in a specific class if needed.

something like

	cache-class="some class"
	size-limit="10" |	time-limit="20">

then in each ClassDescriptor

	<object-cache cache-class="some class" size-limit="10" | time-limit="20"/>

any comments?

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

View raw message