RFR: 8307088: Allow the jdbc.drivers system property to be searchable

Eirik Bjorsnos duke at openjdk.org
Fri Apr 28 19:00:02 UTC 2023


On Fri, 28 Apr 2023 17:28:47 GMT, Lance Andersen <lancea at openjdk.org> wrote:

> Hi all,
> 
> Please review this trivial change which allows the` jdbc.drivers` system property to be searchable.
> 
> Best.
> Lance

Somewhat unrelated perhaps, but I found the example value given for `jdbc.drivers` in `DriverManager` javadocs to be a bit funky. 

`jdbc.drivers=foo.bah.Driver:wombat.sql.Driver:bad.taste.ourDriver`

I know, I know, coming up with examples is hard, but perhaps we could find something more boring, realistic, package- and database-looking example drivers?

Something like:

`jdbc.drivers=com.company.jdbc.Driver:org.somedb.Driver:org.otherdb.JbdcDriver`

I know this is very subjective, and not really related to the issue. But I thought I'd mention it now that this code is updated.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13724#issuecomment-1527952909


More information about the core-libs-dev mailing list