private static void md5todb() {
        char[] c = {'0','1','2','3','4','5','6','7','8','9',
                'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};

        try {
            Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
            Connection conn = null;
            Statement statement = null;
            conn = DriverManager.getConnection("jdbc:oracle:thin:@10.0.0.33:1521:orcl", "dcc", "dcc");
            PreparedStatement oraPs = null;
            String oraInsertSql = "insert into t_md5dict(original,md5char) values (?,?)";
            oraPs = conn.prepareStatement("delete from t_md5dict");
            oraPs.executeUpdate();
            long curtime = System.currentTimeMillis();
            System.out.println(curtime);

            oraPs = conn.prepareStatement(oraInsertSql);
            for (int c1=0;c1<=c.length-1;c1++) {
                for (int c2=0;c2<=c.length-1;c2++) {
                    curtime = System.currentTimeMillis();
                    for (int c3=0;c3<=c.length-1;c3++) {
                        for (int c4=0;c4<=c.length-1;c4++)
                        {
                            String s = ""+c[c1]+c[c2]+c[c3]+c[c4];
                            System.out.print("credate: "+s);
                            System.out.println(","+ MD5.GetMD5Code(s).toUpperCase());
                            oraPs.setString(1, s);
                            oraPs.setString(2, MD5.GetMD5Code(s).toUpperCase());
                            oraPs.addBatch();
                            oraPs.executeBatch();
                            //oraPs.executeUpdate();
                        }
                        System.out.println(""+c[c1]+","+c[c2]+","+c[c3]);
                        //oraPs.executeBatch();
                    }
                }
                conn.commit();
            }
            //oraPs.executeBatch();
            //oraPs.executeUpdate();
            //conn.commit();

            conn.close();
            System.out.println(System.currentTimeMillis() - curtime);

        } catch (Exception e) {
            e.printStackTrace();
        }
    }