RFR: 8307088: Allow the jdbc.drivers system property to be searchable
Lance Andersen
lancea at openjdk.org
Fri Apr 28 19:36:58 UTC 2023
On Fri, 28 Apr 2023 18:43:01 GMT, Eirik Bjorsnos <duke at openjdk.org> wrote:
> 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.
This dates back to the first release of JDBC in JDK 1.1. I will add it to my todo list as there is more work to be done in the javadocs, but will leave it as its for now. Even with when its is updated, wombat.sql.driver will stay to honor Rick Cattell and Graham Hamilton :-)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13724#issuecomment-1527994558
More information about the core-libs-dev
mailing list