Closed basisbit closed 4 years ago
oh, there is no lib dependency of oracle.jdbc.driver.OracleConnection in this project... Changed it back to using Class.forName which will still not work with OSGi or Java9 modules, but this code is still an improvement
ah screw it. github web is not good for editing code without any linting or compiling support.
Since Java 1.6 there exists the java.sql.Wrapper.unwrap(Class) method which does exactly what this class desires to do, and which also works when using OSGI or Java9+ modules.