Search:

Type: Posts; User: sup123

Search: Search took 0.18 seconds.

  1. Re: PreparedStatement executing but not working. HEADACHE

    Any Ideas for the relative path
  2. Re: PreparedStatement executing but not working. HEADACHE

    Heres a picture of my directory

    http://imgur.com/33i50on
  3. Re: PreparedStatement executing but not working. HEADACHE

    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...
  4. Re: PreparedStatement executing but not working. HEADACHE

    ya that was my question but you didnt answer it. How do i give it a relative path?
  5. Re: PreparedStatement executing but not working. HEADACHE

    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


    ...
  6. Re: PreparedStatement executing but not working. HEADACHE

    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) {
    ...
  7. Re: PreparedStatement executing but not working. HEADACHE

    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;...
  8. Prepared Statement executing but not working. HEADACHE

    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...
Results 1 to 8 of 8