• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JDBC connectivity

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
i am trying to do jdbc connectivity since 10 days. but i failed to do that. here i am using jdbc dbc bridge.
i am doing like this:
Class.forName ("sun.jdbc.odbc.OdbcDriver");
Connection conn = DriverManager.getConnection
("jdbc dbc snname", user, pass);
blah blah blah.
if i do like this i am getiing an error like class not found while running.
mine is oracle8i database. can anybody help me how i can do this and what are all the things i need to check before connection.
please tell me is there any other method of connecting to the database.
thanks,
regards,
srini.
 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try this :

-Sainudheen
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Class.forName ("sun.jdbc.odbc.OdbcDriver");???
reply
    Bookmark Topic Watch Topic
  • New Topic