connection to jdbc


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: connection to jdbc

  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



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