Should not need to provide JDBC driver name.


Mark Thornton
 

Since Java 6 / JDBC 4 it has been possible (and normal practice) to open a Connection without specifying the driver or attempting to load its class. Unfortunately if I omit the driver name in DataNucleus (JPA api), it attempts to load a driver class with the name "" (i.e. an empty string), and then fails.

Could this behaviour be changed?

Mark Thornton

Join main@datanucleus.groups.io to automatically receive all group messages.