Correctly, the PGDataSourceFactory should simply instatiate the required
class directly, no need for using the DriverManager at all!
See [1] line 131 or [2] line 40, 47, 54 for example.
The problem with DataSourceFactory is that it does not support dynmics
or different class-loader spaces very
> 'Christoph Läubrich' via OPS4J
> :
> DriverManger.register/unregister can't work reliable in OSGi
> (especially with static insitilizer), thus always the
> DataSourceFactory should be used instead!
PGDataSourceFactory is currently implemented using the regular PG JDBC
driver, ie. the D
DriverManger.register/unregister can't work reliable in OSGi (especially
with static insitilizer), thus always the DataSourceFactory should be
used instead!
Am 30.04.19 um 19:43 schrieb Steinar Bang:
Christian Schneider :
I see no calls to DriverManager in
https://github.com/pgjdbc/pgjdbc/b