public void save(T entity,String tableName) throws Exception{
        String realTableName = "".equals(Util.nullToString(tableName)) ?
                entity.getClass().getSimpleName().toLowerCase() : tableName.toLowerCase();
        //SQL语句,insert into table name (
        String sql = "insert into " + realTableName + "(";

        //获得带有字符串get的所有方法的对象
        List<Method> list = this.matchPojoMethods(entity,"get");

        Iterator<Method> iter = list.iterator();

        //拼接字段顺序 insert into table name(id,name,email,
        while(iter.hasNext()) {
            Method method = iter.next();
            sql += method.getName().substring(3).toLowerCase() + ",";
        }

        //去掉最后一个,符号insert insert into table name(id,name,email) values(
        sql = sql.substring(0, sql.lastIndexOf(",")) + ") values(";

        //拼装预编译SQL语句insert insert into table name(id,name,email) values(?,?,?,
        for(int j = 0; j < list.size(); j++) {
            sql += "?,";
        }

        //去掉SQL语句最后一个,符号insert insert into table name(id,name,email) values(?,?,?);
        sql = sql.substring(0, sql.lastIndexOf(",")) + ")";

        //到此SQL语句拼接完成,打印SQL语句
        System.out.println(sql);

        //获得预编译对象的引用
        PreparedStatement statement = connection.prepareStatement(sql);

        int i = 0;
        //把指向迭代器最后一行的指针移到第一行.
        iter = list.iterator();
        while(iter.hasNext()) {
            Method method = iter.next();
            //此初判断返回值的类型,因为存入数据库时有的字段值格式需要改变,比如String,SQL语句是'"+abc+"'
            if(method.getReturnType().getSimpleName().indexOf("String") != -1) {
                statement.setString(++i, this.getString(method, entity));
            } else if(method.getReturnType().getSimpleName().indexOf("Date") != -1){
                statement.setDate(++i, new java.sql.Date(this.getDate(method, entity).getTime()));
            } else if(method.getReturnType().getSimpleName().indexOf("InputStream") != -1) {
                statement.setAsciiStream(++i, this.getBlob(method, entity),1440);
            } else {
                statement.setInt(++i, this.getInt(method, entity));
            }
        }
        //执行
        conn.execOther(statement);
        //关闭连接
        conn.closeConn();
    }