DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    rekha rajagopal rekha_567 Guest

    connection to jdbc


    hi

    i have a pooblem in getting connecting to database to oracle

    can u help me in giving an eg

    thank u


    rekha raj

  2. #2
    anitha R arudramina Guest

    Re: connection to jdbc





    hi,
    the foll code will help you
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection cn=DriverManager.getConnection"Jdbc:Odbc:dsnname","uid","pwd");
    supply ur own dsname,uid,pwd




    "rekha rajagopal" rekha_567 wrote:
    >
    > hi
    >
    >i have a pooblem in getting connecting to database to oracle
    >
    >can u help me in giving an eg
    >
    >thank u
    >
    >
    >rekha raj



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