zhouzhenhao

Results 22 comments of zhouzhenhao

@allwefantasy --)无论是获得连接还是要执行sql必须要执行defaultMysqlServce()方法,不然会报空指针 例如 conn = nativeSqlClient.defaultMysqlService().dataSource().getConnection(); //所以 User.nativeSqlClient().execute("insert into user where name = ?","google");//我要写成才能执行 User.nativeSqlClient().defaultMysqlService().execute("insert into user where name = ?","google"); 请问是什么问题呢 --)client.execute(sql,params())第二个参数是params()方法获得的map 但此方法里面setParams(preparedStatement, params)的params是一个object数组的参数值 所以 nativeSqlClient.defaultMysqlService().execute(sql,params());会报错。我是把map中的value转换为object数组。 请问有便捷方法将参数动态传入吗

@allwefantasy 可不可以把eclipse下的class文件直接拷到build下的相应文件夹下去