This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes ODBC Driver Manager Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "ODBC Driver Manager" Watch "ODBC Driver Manager" New topic
Author

ODBC Driver Manager

Michael.H.Sun
Ranch Hand

Joined: Jan 18, 2001
Posts: 39
All,
When I did the connection of Java application:jdbc dbc:database, I received the following exception:
Unable to connect
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
void TableDisplay.<init>()
void TableDisplay.main(java.lang.String[])
Does it tell me I should install ODBC Drive Manager?
Thanks.
KASI VISHWANATH
Ranch Hand

Joined: Aug 06, 2000
Posts: 60
If you are using an odbc driver then first create a dsn and then try to work with it.
Originally posted by Michael.H.Sun:
All,
When I did the connection of Java application:jdbc dbc:database, I received the following exception:
Unable to connect
java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
void TableDisplay.<init>()
void TableDisplay.main(java.lang.String[])
Does it tell me I should install ODBC Drive Manager?
Thanks.


I.K.VISHWANATH
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: ODBC Driver Manager
 
Similar Threads
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
Data source name not found and no default driver specified
Connecting to Oracle
jdbc:odbc with DSN less connection for MS Access
connection to database - reset by peer - SQL Exception -???!!!