You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by um...@comcast.net on 2007/03/19 23:34:24 UTC

[commons-configuration]: Usage of JDBC configuration sources


I am looking for sample usage of JDBC configuration sources with
commons-configuration. The user guide does not have an example.
In particular I 'd like to know:
   a) how to point commons-config to the JDBC data source
   b) how to identify to commons config the name of the 
        table and the column containing the configuration data

Any help immensely appreciated!

TIA,

/U

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


Re: [commons-configuration]: Usage of JDBC configuration sources

Posted by Oliver Heger <ol...@oliver-heger.de>.
uma_rk@comcast.net wrote:
> I am looking for sample usage of JDBC configuration sources with
> commons-configuration. The user guide does not have an example.
> In particular I 'd like to know:
>    a) how to point commons-config to the JDBC data source
>    b) how to identify to commons config the name of the 
>         table and the column containing the configuration data
> 
> Any help immensely appreciated!
> 
> TIA,
> 
> /U
> 


There are no concrete examples I am aware of. Maybe the unit tests [1] 
are helpful?

Oliver

[1] 
http://svn.apache.org/viewvc/jakarta/commons/proper/configuration/trunk/src/test/org/apache/commons/configuration/TestDatabaseConfiguration.java?view=markup

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