aspose file tools*
The moose likes JDBC and the fly likes JDBC connectivity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC connectivity" Watch "JDBC connectivity" New topic
Author

JDBC connectivity

Srinivas Rallapalli
Greenhorn

Joined: May 20, 2003
Posts: 18
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.
Sainudheen Mydeen
Ranch Hand

Joined: Aug 18, 2003
Posts: 218
Try this :

-Sainudheen
zhu a ming
Greenhorn

Joined: Oct 05, 2003
Posts: 9
Class.forName ("sun.jdbc.odbc.OdbcDriver");???


=======================<br />s=(LinkNode *)malloc(sizeof(ListNode));<br /> s->date=ch;<br /> s->next=head;<br /> head=s;<br /> ch=getchar();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC connectivity
 
Similar Threads
jdbc connectivity in applet
JDBC connectivity
creating JDBC Connection Pool in weblogic6.1
jdbc connection url
Can I use jdbc:odbc to access MS Access database remotely?