The difference between insert and save operations is that a save operation will perform an insert if the object is not already present.savesaves the.....
分类:
数据库 时间:
2015-07-06 19:34:59
阅读次数:
126
SSH keyAn SSH key allows you to establish a secure connection between your computer and GitLab.Before generating an SSH key, check if your system already has one by running cat ~/.ssh/id_rsa.pubIf you...
分类:
其他好文 时间:
2015-07-06 10:13:45
阅读次数:
502
关于swp文件:使用vi,经常可以看到swp这个文件,那这个文件是怎么产生的呢,当你打开一个文件,vi就会生成这么一个.(filename)swp文件以备不测,如果你正常退出,那么这个.(filename)swp文件将会自动删除。
因此.(filename)swp文件就是你没有正常退出vi或者vim编辑器时留下来的!比如:强行关闭vi或vim时,电源突然断掉,或者你使用了Ctrl-zz。(正常的...
分类:
其他好文 时间:
2015-07-05 15:09:17
阅读次数:
197
需要重启Tuxedo应用时,提示:LIBTUX_CAT:577: ERROR: Unable to register because the slot is already owned此时执行tmadmin命令,有报错:$ tmadmintmadmin - Copyright (c) 1996-1999 BEA Systems, Inc. Portions * Copyright 1986-199...
分类:
其他好文 时间:
2015-07-05 09:34:19
阅读次数:
141
session.update(Objectobject)方法来对数据库进行更新的。而该方法在执行时,如果在session的缓冲区中存在与传入对象object有相同id的PO对象的话,就会抛出adifferentobjectwiththesameidentifiervaluewasalreadyassociatedwiththesession.解决办法:用hql的方式直接对数据库..
分类:
其他好文 时间:
2015-07-04 16:51:48
阅读次数:
93
当你想在计算机上启动一个服务,电脑已经建议"port already in use",此时,可以使用lsof命令查看占用端口的进程(lsof -i:port). lsof这是LiSt Open Files缩写,在linux环境下,不论什么事物都以文件的形式存在,通过文件不只能够訪问常规数据,还能够....
分类:
其他好文 时间:
2015-07-03 21:48:26
阅读次数:
150
Severalports(8005,8080,8009)requiredbyTomcatv7.0Serveratlocalhostarealreadyinuse.Theservermayalreadyberunninginanotherprocess,orasystemprocessmaybeusi...
分类:
其他好文 时间:
2015-07-02 19:22:30
阅读次数:
158
卸载ADT的方法,方法如下:1、选择Help>Install New Software;2、在"Details" 面板中, 点击"What is already installed?" 链接;3、在Eclipse Installation Details对话框中,选择"Android DDMS"和"...
分类:
系统相关 时间:
2015-07-02 11:50:57
阅读次数:
197
BiliBili, ACFun… And More!Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Some of you may have already noticed, there ....
分类:
其他好文 时间:
2015-07-01 21:54:09
阅读次数:
215
1.getOutputStream() has already been called for this response
报错的原因:
使用tomcat容器调用response.getOutputStream()方法的时候只能够写二进制文件.
但调用requonse.getWriter()方法时,则只能够在前台打印文本文件.
所以:
如果在jsp页面:
outPutStrea...
分类:
Web程序 时间:
2015-07-01 18:21:38
阅读次数:
150