Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2011-12-15T22:44:11Z by SystemAdmin
Orid
Orid
3 Posts
ACCEPTED ANSWER

Pinned topic Problem using the DB2 JCC driver and Informix driver

‏2011-08-31T10:12:12Z |
Hi,

I have an application which used both drivers. I used to work with JCC 1.3.
I updated to JCC 1.6 and now I'm unable to connect to informix I checked and found that the problem is because of this change:

in the following code "accept" used to be false and now it is true:

Driver db2Driver = (Driver) Class.forName("com.ibm.db2.jcc.DB2Driver");
boolean accept = db2Driver.acceptsURL("jdbc:informix-sqli://10.1.2.3:1234/sysmaster:INFORMIXSERVER=ifx_server")

is there a workaround I can use to change it?

Thanks.
Updated on 2011-12-15T22:44:11Z at 2011-12-15T22:44:11Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    1731 Posts
    ACCEPTED ANSWER

    Re: Problem using the DB2 JCC driver and Informix driver

    ‏2011-11-08T15:22:24Z  in response to Orid
    Did you ever solve how to use both drivers or do something else?
    • Orid
      Orid
      3 Posts
      ACCEPTED ANSWER

      Re: Problem using the DB2 JCC driver and Informix driver

      ‏2011-12-15T08:58:24Z  in response to SystemAdmin
      I did not solve it. I'm still looking for an answer
      • SystemAdmin
        SystemAdmin
        1731 Posts
        ACCEPTED ANSWER

        Re: Problem using the DB2 JCC driver and Informix driver

        ‏2011-12-15T22:44:11Z  in response to Orid
        We opened a PMR with IBM. The next release of the JCC driver should allow the Informix driver to be used for those connections when both drivers are present.