Andrew McIntyre wrote: > On 5/28/05, Daniel John Debrunner <[EMAIL PROTECTED]> 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 ij.dataSource.<property>=<value> where <property> is a Java Bean property of the DataSource implementation. Dan.
