Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ODBC Driver Manager

 
Michael.H.Sun
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic