• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with jdbc connectivity to m-s accesscannot download oracle on windows 2000

 
Balkumar Thadakapalli
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi!! I Have problem in getting connectivity with m-s access.
I could get it easily to oracle database. But Iam getting lots of problems with M-S Acsess.
I also Have problem in load oracle in windows 2000 professional.
I tried personal oracle and oracle entripreised edition. Its getting loaded but doenot load sql.. please help me..
 
Matt Midcap
Sheriff
Posts: 440
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this for your ms access connectivity problem, and make sure you have registered your ODBC 32 drivers:
import java.sql.*;
class someClass {
public static void main (String args[]) {
String url = "jdbcdbc:myDriver";
try {
// Load the jdbc-odbc bridge driver
Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
// Attempt to connect to a driver.
Connection con = DriverManager.getConnection (
url, someUserName, somePassword );
Best Regards,
Matt
[This message has been edited by Matt Midcap (edited June 23, 2000).]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic