Hi, where do I download jar to MS access connection? From Sun? thanks for any suggestion. fabio
Hi, where do I download jar to MS access connection? From Sun? thanks for any suggestion. fabio
In article <ZNaMd.487559$ XXXX@XXXXX.COM >, I'm not sure what you're asking for. Are you seeking a jar file which contains a JDBC driver for use with MS Access? If so, you don't really need one. A quick Google search will yield numerous places where you can learn to use the built-in JDBC-ODBC bridge that's part of Java already. Or, should you want to do some more "industrial strength" work, you can find numerous third party drivers available. = Steve = -- Steve W. Jackson Montgomery, Alabama
1.Help download jar to MS Access connection
Hi, where do I download jar to MS access connection? From Sun? thanks for any suggestion. fabio
2.jdbc connection to MS access database
Im trying to connect my database. im using ms access when i try to execute my program it gives me this error i create my database by going to the odbc in the administrative tools. and when i try to execute my code it gives me this error: java.sql.SQLException: No suitable driver at java.sql.DriverManager.getConnection(DriverManager.java:545) at java.sql.DriverManager.getConnection(DriverManager.java:193) at Transit.main(Transit.java:16) and this is the code im using. try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); } catch(Exception e){ e.printStackTrace(System.err); } Connection con; Statement stmt; //connecting to the database. try{ con=DriverManager.getConnection("jbdc:odbc:Hw3");//this is where its giving me errors stmt=con.createStatement(); con.close(); stmt.close(); } catch(Exception sqle){ sqle.printStackTrace(System.err); } any suggestions do i have to download any updates or something im using java 1.5 sdk.
3.MS - Access Connection Error through servlet
Hello, i got the same exception error DSN not found and no default driver specified.
Hello, I have a rogram in JAVA that needs to connect to a MS Access DB that already exists, I'm kinda new to DB acces with JAVA, and I don't know how to connect to to the DB. I have already found out how to use the jdbcodbcbridge, but i find nowhere how the URL that should be usedhas to look like. so far I tried it like this: but it throws an exception that it can't find the database. Now I don't know if it is the wrong way to specify the url, or if it is because the mdb file is in the wrong place try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); } catch (Exception e) { System.out.println("Failed to load JDBC/ODBC driver."); return; } Statement stmt = null; Connection con=null; try { con = DriverManager.getConnection ( "jdbc:odbc:../groenidee.mdb", "", ""); stmt = con.createStatement(); } catch (Exception e) { System.err.println("problems connecting to jdbc:odbc:groenidee.mdb"); } THNX Tim
5.Newbie: ms access database connection fails on XP, but works on 98
Hi all, I have a java applet that makes a connection with a ms access database. It works on windows 98. But if I try to run it on XP-pro it doesn't work. I defined the datasource by means of the User DSN tab in the ODBC Datasource Administrator. Does anybody know what the problem could be? Is there maybe something else that must be done before a database can be accessed on XP? Thanks, Karel
6. Problem with JDBC-ODBC connection to MS Access 2000
Users browsing this forum: No registered users and 89 guest