db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@debrunners.com>
Subject Re: [PATCH] Pass ij.dataSource properties from RunList to RunTest WAS Re: J9 Foundation & RunSuite
Date Mon, 30 May 2005 16:23:46 GMT
Andrew McIntyre wrote:
> On 5/28/05, Daniel John Debrunner <djd@debrunners.com> wrote:
>>Patch that makes RunList pass on any ij.dataSource properties in the
>>System set to forked RunTest.
>>This allows suites to be run using a datasource for the default
>>connection instead of DriverManager. Allows testing of JSR169.
> Haven't tested it yet, but it looks fine to me. Is there a reason to
> enumerate the system properties instead of just using getProperty? Is
> System.getProperty() missing from JSR169?

The reason is that a number of properties are required to setup a
connection using a data source and they all start with 'ij.dataSource'.
And the exact names of the properties depends on the properties
supported by the data source, thus the scheme needs to be flexible.

Requires a single
ij.dataSource=<class name of data source implementation>

and then one or more of


where <property> is a Java Bean property of the DataSource implementation.


View raw message