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 File DSN Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "File DSN" Watch "File DSN" New topic
Author

File DSN

Heena Shah
Greenhorn

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

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

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
Greenhorn

Joined: Dec 18, 2000
Posts: 2
thanks for your replies. will check and get back to you.
Heena.
 
Don't get me started about those stupid light bulbs.
 
subject: File DSN