File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes how to connect to my MS Access DB through JDBC but not ODBC Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "how to connect to my MS Access DB through JDBC but not ODBC" Watch "how to connect to my MS Access DB through JDBC but not ODBC" New topic
Author

how to connect to my MS Access DB through JDBC but not ODBC

adachi
Greenhorn

Joined: Jun 26, 2001
Posts: 9
Hi,
I am developing a software that want to connect to a ***.mdb when I distributed it. So, I can't set anything in the client's computer such as ODBC. Thus, I want to use JDBC connect to the Database directly.
Can I?
Thanks for you attention
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Does this thread cover what you are looking for?
Dave
[This message has been edited by David O'Meara (edited November 25, 2001).]
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

"adachi",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp .
We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in again with a new name which meets the requirements.
Thanks.
Dave
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

I think you are looking for a DSN-less connection to access:

this will connect to the emp database located at C:\Temp\data
Jamie
note, this still uses the jdbcdbc bridge so you can only connect to a local database (I haven't tested it).

[This message has been edited by Jamie Robertson (edited November 26, 2001).]
[This message has been edited by Jamie Robertson (edited November 26, 2001).]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to connect to my MS Access DB through JDBC but not ODBC
 
Similar Threads
Connect to Style Reports using JDBC Only
Can I develop Web Application run in WAS using Oracle 7.3.4 ?
How to connect msaccess database from myeclipse IDE tools
difference between JDBC and ODBC
how to connect data base without jdbc?