File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes File DSN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "File DSN" Watch "File DSN" New topic

File DSN

Heena Shah

Joined: Dec 18, 2000
Posts: 2
hi everybody..
can anyone tell me how to connect to odbc using file dsn.
Vernon Gibson
Ranch Hand

Joined: Dec 01, 2000
Posts: 35
I believe that you need to specify the url for the file as
where you would replace FileDsn with the name you specified in the ODBC set up dialog.
Good Luck
paul sun

Joined: Dec 22, 2000
Posts: 28
setup odbc with text file driver, and give a datasource name; use "jdbc dbc:datasourcename" url and jdbc.odbc.JdbcOdbcDriver driver for Jdbc api. Am I right?
[This message has been edited by paul sun (edited December 30, 2000).]
Heena Shah

Joined: Dec 18, 2000
Posts: 2
thanks for your replies. will check and get back to you.
I agree. Here's the link:
subject: File DSN
It's not a secret anymore!