commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh" <ep...@upstate.com>
Subject RE: [configuration] DatabaseConfiguration
Date Sun, 18 Jan 2004 17:49:13 GMT
I have gone ahead and committed this.  It is defintily an implementation
that we have been needing!  Could you maybe look at the Simian report. there
are a couple duplications listed, that I think look like they could be
extracted into their own method without being too confusing.

ERic

> -----Original Message-----
> From: Emmanuel Bourg [mailto:e.bourg@cross-systems.com]
> Sent: Saturday, January 17, 2004 7:48 PM
> To: Jakarta Commons Developers List
> Subject: [configuration] DatabaseConfiguration
>
>
> I have written a configuration implementation that uses a database to
> store the properties. It supports 2 table structures :
> - one table per configuration (2 colums key/value)
> - one table for multiple configurations (2 columns key/value
> + 1 column
> for the name of the configuration)
>
> The names of the tables and columns are specified in the constructor,
> for example :
>
> Configuration config = new DatabaseConfiguration(datasource,
> "configuration", "key", "value");
>
> There is no caching mechanism, I wonder if it should be
> implemented into
> the class or separately as a decorator.
>
> Comments are welcome :)
>
> Emmanuel Bourg
>
>
>


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


Mime
View raw message