Julien Massiera created CONNECTORS-1340:

             Summary: JDBC Connector not properly working
                 Key: CONNECTORS-1340
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1340
             Project: ManifoldCF
          Issue Type: Bug
          Components: JDBC connector
    Affects Versions: ManifoldCF 2.5
            Reporter: Julien Massiera

I figured out a problem with the JDBC Connector with an Oracle DB. It was 
impossible to establish the connection to the database. 
After some investigation in the code I found that the URL used for the 
connection is constructed like this (JDBCConnectionFactory.java:97):
String dburl = "jdbc:" + providerName + "//" + jdbcDriverString;

The problem is that the "//" after the providerName is working for MySQL, 
PostgreSQL and SQL Server databases but not for Oracle or Sybase.

I made a patch for the JDBCConnectionFactory.java to fix this issue and make 
the connector work with each mentioned DB

This message was sent by Atlassian JIRA

Reply via email to