It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes How to use File DSN in JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "How to use File DSN in JDBC" Watch "How to use File DSN in JDBC" New topic

How to use File DSN in JDBC


Joined: Jan 05, 2001
Posts: 12
I have created a website, in that i'm having database connectivity. i want to use File DSN. is it possible to use File Dsn in jdbc-odbc connectivity.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at . 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 with a new name which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Only if you are using an ODBC bridge driver like Sun's. This is kind of a slow way to handle your DB connectivity. Unless you are using MS Access there is probably a better driver available to you for JDBC connectivity.
I agree. Here's the link:
subject: How to use File DSN in JDBC
It's not a secret anymore!