title: c3p0 CombopooledDataSource not committing SQL update
body: <p>I am using a pooled datasource (msaccess database) to update local database (client side using h2 database) via an application i made. 
  The problem i have is when submitting a request say "INSERT INTO USERS (NAME, CODE) VALUES (Me ,<code>hfd5255fd4</code>);" the app runs perfectly , nothing is reported in the error log BUT nothing has changed in the database either.
  The code i am using is as follows</p>
  
  <pre><code>private static Connection getDatabase() throws Exception {
  
  
      cpds.setDriverClass("net.ucanaccess.jdbc.UcanaccessDriver");
      // loads the jdbc driver
      cpds.setJdbcUrl("jdbc:ucanaccess://"
              + (new File("Ressources/filter.mdb").getAbsolutePath()));
      cpds.setUser("admin");
      cpds.setPassword("ibnsina");
      cpds.setAutoCommitOnClose(false);
   return cpds.getConnection(); //tried removing this , but no effect
  }
  ----doing some other stuff---
  private static updating() throws exception{
  conn = getDatabase();
  
      File fileUpload = new File(logPath + "UploadLog.txt");
      BufferedReader readerUpload = new BufferedReader(new FileReader(
              fileUpload));
      String Uploadingline = "";
      StringBuffer secondaryline = new StringBuffer();
      if (readerUpload.ready()) {
          System.out.println("Uploadtxt ready");
          Statement stUpload = conn.createStatement();
          System.out.println("Stupload ready");
          while ((Uploadingline = readerUpload.readLine()) != null) {
  
              if (Uploadingline.endsWith(";")) {
                  secondaryline.append(Uploadingline);
                  /*stUpload.executeUpdate(secondaryline.toString()); tried this to execute each line separatly*/
                  stUpload.addBatch(secondaryline.toString());
                  System.out.println("Reading line :" + secondaryline);
                  secondaryline.setLength(0);
  
              } else {
                  secondaryline.append(Uploadingline);
  
              }
  
          }
          stUpload.executeBatch();
          stUpload.clearBatch();
          conn.commit(); //i even tried adding this to make it commit even tho autocommit is by default ON
          stUpload.close();}
  </code></pre>