db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myrna van Lunteren <m.v.lunte...@gmail.com>
Subject Re: [PATCH] Pass ij.dataSource properties from RunList to RunTest WAS Re: J9 Foundation & RunSuite
Date Mon, 30 May 2005 20:43:25 GMT
As far as I can see this works fine.
 However, I've been using my little props.java as a test, and there's a 
DriverManager call in RunTest that is causing a problem at line 2311, which 
with foundation of course gives a ClassNotFoundException, when running with 
-Duseprocess=false.
 It's only with .java tests, so e.g. the nist test suite would not suffer.
 How do we get around that one - add another catch & ignore those, or...?
 Myrna


 On 5/30/05, Daniel John Debrunner <djd@debrunners.com> wrote: 
> 
> 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
> 
> ij.dataSource.<property>=<value>
> 
> where <property> is a Java Bean property of the DataSource implementation.
> 
> Dan.
> 
>

Mime
View raw message