To quote the
An alternative to the
DataSourceobject is the preferred means of getting a connection.
So I would expect an implementation to be provided with Connector/J. For example, for this Postgres JDBC driver, I can find the implementation of
DataSource in the class
PGSimpleDataSource, as discussed on Stack Overflow.
➥ Is there no implementation of
DataSource for Connector/J? Or did I miss it?
There is this page, 6.1 Driver/Datasource Class Name. But, despite the title, mentions only the driver class name, not the class name for a