DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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.
    >
    >
    >



Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links