This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC 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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to use File DSN in JDBC" Watch "How to use File DSN in JDBC" New topic
Author

How to use File DSN in JDBC

ganshre
Greenhorn

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
Sheriff

Joined: Jan 07, 1999
Posts: 6920
"ganshre",
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 with a new name which meets the requirements.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Anonymous
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.
 
Consider Paul's rocket mass heater.
 
subject: How to use File DSN in JDBC
 
Similar Threads
jdbc:odbc with DSN less connection for MS Access
How to Install DSN on Linux
Dynamic DSN creation
JDBC without DSN
ODBC, DNS, JDBC