manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Massiera (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CONNECTORS-1340) JDBC Connector not properly working
Date Wed, 21 Sep 2016 10:45:20 GMT
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
(v6.3.4#6332)

Mime
View raw message