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] [Updated] (CONNECTORS-1340) JDBC Connector not properly working
Date Wed, 21 Sep 2016 10:53:20 GMT

     [ https://issues.apache.org/jira/browse/CONNECTORS-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julien Massiera updated CONNECTORS-1340:
----------------------------------------
    Attachment: CONECTORS-1340.patch

> 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
>             Fix For: ManifoldCF 2.5
>
>         Attachments: CONECTORS-1340.patch
>
>
> 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