你怎么知道成功了?
你又没有打印错误信息!
你应该
catch (SQLException ex1) {
      System.out.println(ex1);
      }看看