Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
The current DataSource implementation relies in DriverManager to get a connection, but the DriverManager requires that the driver is registered and when the org.postgresql.Driver is called it's automatically registered in a static initializer block, but for the DataSource class it is not called. To trigger the register of the driver, simply make a call to org.postgresql.Driver.isRegistered() which checks if the driver is registered and initialize the class if not. closes pgjdbc#768
Updating postgesql to 42.1.1.jre6 See Release Notes at https://jdbc.postgresql.org/documentation/changelog.html#version_42.1.1 Related GitHub Issue is pgjdbc/pgjdbc#768