File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Database Connection in .jar
Joined: Feb 26, 2005
Mar 09, 2005 22:33:00
If DSN less connection for .mdb file is used, when you create a jar file of it; including
1. class file
It can't connect to .mdb file included in the jar.
Joined: Aug 15, 2004
Mar 09, 2005 22:54:00
What driver are you using? I dont know any other then JDBC-ODBC to connect Access DB. You need DSN, indeed.
I agree. Here's the link:
subject: Database Connection in .jar
Adding Database to application
Multiple Entries in sun-ejb-jar.xml for Message Driven Bean?
MS ACCESS DSN less Connection
Consumer theads no longer exist
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013