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

java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found...  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi deepak here,
this is my code as follows:


I am getting an error as java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found...
by data source sara.mdb is in the same folder os in the code.

i tried all suggesation form net still not getting the solution.2
 
Bartender
Posts: 2633
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
create an odbc datasource in windows with the name sara, that is configured to connect to your sara database.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!