看上面的代码,利用ClientQuery执行一条Insert语句,向数据库插入一条记录。如果不为int64参数赋值,则在执行Execute时,产生异常:Unknown parameter datatype (UNKNOW) send from server,同时,记录也插入到数据库中了。如果换用Re ...
分类:
其他好文 时间:
2018-12-22 01:18:52
阅读次数:
216
今天发现了一个错误:Could not execute JDBC batch update 最后发现原因是SQL语句长度大于1M,而我机器上的mysql是默认设置,也就是说mysql通讯的数据包大小设置是1M,这就造成sql语句执行失败。于是把mysql的配置文件(my.ini)中的max_allo ...
分类:
数据库 时间:
2018-12-21 12:55:30
阅读次数:
266
maven编译工程报错 [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:add-source (scala-compile-first) on project trade: Execution sc ...
分类:
Web程序 时间:
2018-12-18 10:55:49
阅读次数:
2186
SqlCommand.ExecuteNonQuery 方法 对连接执行 Transact-SQL 语句并返回受影响的行数。 ――语法: public override int ExecuteNonQuery() ――返回值 类型:System..::.Int32 受影响的行数。 ――可以使用 Exe ...
分类:
数据库 时间:
2018-12-17 02:05:40
阅读次数:
248
D:\TOOL\PycharmProjects\python3\BS\h2>pythonmanage.pymakemigrationsTraceback(mostrecentcalllast):File"manage.py",line15,in<module>execute_from_command_line(sys.argv)File"D:\Pro
分类:
数据库 时间:
2018-12-16 11:02:02
阅读次数:
154
对iOS手机进行滑动操作进行总结:1、mobile:scroll向下滚动整个屏幕driver.execute_script('mobile: scroll', {'direction': 'down'})向上滚动整个屏幕driver.execute_script('mobile: scroll', ...
分类:
移动开发 时间:
2018-12-15 16:21:01
阅读次数:
187
1.shell 是批处理程序,类似与windows的bat文件 2.写shell时,第一行要以#!/bin/bash 开头 Execute the file using the Bash shell. 3.使用#注释(最好备注shell脚本的功能作用以防日后忘记) 4.文件名应以.sh结尾 5.运行 ...
分类:
系统相关 时间:
2018-12-13 13:48:55
阅读次数:
166
今天遇到一个奇怪问题:使用mvn clean后,打包问是出现下面错。 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:2.6:resources (default-resources) on ...
分类:
其他好文 时间:
2018-12-11 01:40:53
阅读次数:
578
将动作执行与接收者包装到对象里面,对外暴露的只有一个接口中的execute方法,其他对象不需要知道那个接收者执行了什么动作,只需要知道调用execute,就能完成一个请求的操作 ...
分类:
其他好文 时间:
2018-12-08 22:43:01
阅读次数:
204