hibernate: bug: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1 solution: hibernate在执行save(Object obj)时,如 ...
分类:
其他好文 时间:
2016-06-17 22:34:02
阅读次数:
243
请求 postman支持很多请求类型,界面左侧可以看到请求类型:get、post、put、patch等,右侧是发送和保存按钮,下方是请求支持的认证方式、信息头、信息体、私有脚本和测试结果。下面我们介绍下常用的get和put请求。 get请求 只需要选择get请求,输入接口地址,然后save,选择相应 ...
分类:
Windows程序 时间:
2016-06-17 20:58:32
阅读次数:
2848
今天服务器提示不可用,查了了redis日志发现:cat/data/redis/redis-server.log
[1316]17Jun13:49:28.032*1changesin900seconds.Saving...
[1316]17Jun13:49:28.032#Can‘tsaveinbackground:fork:Cannotallocatememory
[1316]17Jun13:49:34.059*1changesin900seconds.Saving...
..
分类:
其他好文 时间:
2016-06-17 17:28:17
阅读次数:
884
修改配置文件/etc/redis/redis.conf (采用apt-get安装的redis) 采用RDB与AOF相结合,RDB用于全量,AOF用于增量 1、配置RDB save 900 1//每15分钟有1个或以上key改变,触发一次持久化 save 300 10//每300分钟有10个或以上ke ...
分类:
其他好文 时间:
2016-06-17 14:19:45
阅读次数:
145
今天在群里大概遇到了这样一个问题,明明这个User存在,但是save的时候提示信息说Value不存在,大概的意思如下图所示,目前认为这种问题常见的可能情况有两种。 一.此字段设置Validation Rule 此字段设置Validation Rule,判断条件为当User1的值与Owner相同情况下 ...
分类:
其他好文 时间:
2016-06-16 17:34:49
阅读次数:
202
1安装library时,在项目目录下使用--save,比如npminstalladm-zip--save会将adm-zip具体版本信息自动配置在项目的package.json中,不用手动添加了。
分类:
Web程序 时间:
2016-06-15 16:13:15
阅读次数:
149
GET public class JDKActivity extends AppCompatActivity { EditText et1; RequestQueue requestQueue; //请求队列 @Override protected void onCreate(Bundle save ...
分类:
其他好文 时间:
2016-06-15 09:14:44
阅读次数:
246
摘自:http://licstar.net/archives/6 “C# save CookieContainer to file”,发现了一份优雅的代码。http://stackoverflow.com/questions/1777203/c-writing-a-cookiecontainer-t ...
1 linux 系统需要安装crontab ;yun install vixie-cron crontabs 2 编写shell 脚本, save_dir=/var/local/mysqlbak/NewFile="$save_dir"'yitingchat_'$(date +%Y%m%d).sqlm ...
分类:
数据库 时间:
2016-06-12 21:51:48
阅读次数:
203
1.新建一个工程,名字:Internationalization-Demo 2.新建一个File->Resources->StringFile->save 3.选择语言 4.在.English文件后边 在.Chinese文件后边 5.在localizable.strings文件写 在localiza ...
分类:
移动开发 时间:
2016-06-12 18:26:06
阅读次数:
207