Any Ideas for the relative path
Type: Posts; User: sup123
Any Ideas for the relative path
Heres a picture of my directory
http://imgur.com/33i50on
doesnt work i tried the following three,
public static final String DB_NAME = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=\\Databases\\MyDB.mdb" ;
public static final String...
ya that was my question but you didnt answer it. How do i give it a relative path?
Hey guys,
I need some help on fixing my db filepath so i dont have to change it everytime i go onto a new computer. But i am having trouble doing so in eclipse.
My file tree is like this
...
GUYSSSSS I FIXEDDDDD ITTTTTTT. Apparently if you dont close the dbCon it can cause all sorts of random problems. I have now started closing my db by doing
if (this.dbCon != null) {
...
The code does compile, db is is defined in a seperate class. The class is call connection manager and heres the code for that.
public class ConnectionManager {
static Connection dbCon;...
Hey guys,
I cant program my project because this stupid issue has risen out of no where. For some reason the preparedstatement executes but no changes are made in the db. I am using this as a part...