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
JDBC and Relational Databases
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
Consumer theads no longer exist
MS ACCESS DSN less Connection
Multiple Entries in sun-ejb-jar.xml for Message Driven Bean?
Adding Database to application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015