Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4186150

ODBC Bridge cannot open connection using URL "jdbc:odbc:dsn;UID=uid;PWD=pwd"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • None
    • 1.2.0
    • core-libs



      Name: sw25586 Date: 10/30/98


      Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
      DriverManager.setLogStream(System.out);
      Connection conn = DriverManager.getConnection ("jdbc:odbc:oracle_dsn", "scott", "tiger");
      . . .
      <<< now stdout >>>
      . . .
      Connecting (SQLDriverConnect), hDbc=87102024, szConnStrIn=DSN=oracle_dsn;UID=scott;PWD=tiger;UID=;PWD=
      RETCODE = -1
      . . .
      <<< and stderr >>>
      Exception in thread "main" java.sql.SQLException: [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
      . . .
      (Review ID: 41730)
      ======================================================================

            jellissunw Jon Ellis (Inactive)
            swhitesunw Seth White (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: