JDBC connectivity


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: JDBC connectivity

  1. #1
    stanley Guest

    JDBC connectivity


    Dear Friend,
    Could anyone help me please as I have loaded my personal
    Oracle 8i Now when I run my java programme and try to connect
    it to the database its throwing me the errors
    as:cannot resolve symbol
    class Oracle Driver

    locationackage driver
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());

    Also when I go to System DSN and try to add a driver
    It shows the message
    The setup routines for the oracleODBC Driver ODBC driver could
    not be loaded due to system error code 1157

    Could not load the setup or translator library.




  2. #2
    Paul Nichols Guest

    Re: JDBC connectivity


    The error message would seem to indicate, you are trying to use a native java
    driver to connect to the Oracle database rather than a jdbcdbc connection.
    Is this a correct assummtion?

    If you are trying to use jdbcdbc, then you would need to use the jdbcdbc
    driver, not a native java driver.

    Hope this helps.


    "stanley" <stancher56@hotmail.com> wrote:
    >
    >Dear Friend,
    > Could anyone help me please as I have loaded my personal
    >Oracle 8i Now when I run my java programme and try to connect
    >it to the database its throwing me the errors
    >as:cannot resolve symbol
    > class Oracle Driver
    >
    > locationackage driver
    > DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    >
    >Also when I go to System DSN and try to add a driver
    >It shows the message
    >The setup routines for the oracleODBC Driver ODBC driver could
    >not be loaded due to system error code 1157
    >
    >Could not load the setup or translator library.
    >
    >
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center