打印本文 打印本文 关闭窗口 关闭窗口
java连接oracle,取io文件内容,子串替换(原作)!
作者:武汉SEO闵涛  文章来源:敏韬网  点击数2698  更新时间:2009/4/22 22:05:06  文章录入:mintao  责任编辑:mintao
;                                       return buf.toString();    }
                return strSource;
                  }
       // public static void main(String[] args) throws Exception{
//  DbAction d = new DbAction();
//  if (d.conn!=null)System.out.println("success");
//  String sql = d.sqlSearch("codesqlsle");
//  System.out.println(sql);
//  //ResultSet rs = d.dbSelect(sql);
//  //if (rs!=null)System.out.println("success");
////  try{
////  Statement stmt=conn.createStatement();
////  String strSQL = "SELECT CODEID FROM JS_CODE_TBL";
////  ResultSet rs = stmt.executeQuery(strSQL);
////  if(rs==null)System.out.println("creat rs error");
////    while(rs.next()){
////    String e=rs.getString("CODEID");
////    System.out.println(e);
////    }
////    rs.close();
////    stmt.close();
////  }
////  catch(SQLException e){
////   System.out.println("error");
////  }
//       String i = "-123456789012.311111111111111111111";
//    String j = moneychk(i);
//    System.out.println(j);
// }
                }

上一页  [1] [2] [3] [4] 

打印本文 打印本文 关闭窗口 关闭窗口