Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database Connection in .jar

 
Yogesh Gaikwad
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If DSN less connection for .mdb file is used, when you create a jar file of it; including
1. class file
2. META-INF
3. .mdb
It can't connect to .mdb file included in the jar.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What driver are you using? I dont know any other then JDBC-ODBC to connect Access DB. You need DSN, indeed.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic