sdedic opened a new pull request, #5363:
URL: https://github.com/apache/netbeans/pull/5363

   This PR fixes two issues with OCI database support:
   
    The `Download Wallet` action writes a JDBC connection string with a 
pathname in it, but the pathname is not properly escaped. This is not an issue 
on MacOS / Linux, but on Windows that uses backslashes as dir separators, the 
backslashes in string content are interpreted as escapes by the JDBC driver, 
and the resulting path will be broken.
   
   Second, the action tries to find the appropriate JDBC driver, but 
`JDBCDriverManager.getDefault().getDrivers()` call may reeturn half-configured 
drivers, that have no JAR files associated with them. This PR makes the action 
to prefer such drivers that define jars with the actual driver code.
   The original behaviour had the effect of selecting a wrong driver, i.e. 
OracleThin driver (without JARs) was persisted while there was full Oracle jdbc 
driver present (that was configured with appropriate code jars).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to