NonUniqueObjectException解决a different object with
the same identifier value was already associated with the
session错误org.hibernate.NonUniqueObjectExce...
分类:
其他好文 时间:
2014-06-16 08:13:40
阅读次数:
194
启动Tomcat服务器报错: Several ports (8005, 8080, 8009) required by Tomcat v5.5 Server at localhost are already in use. The server may already be running in a...
分类:
其他好文 时间:
2014-06-15 23:15:35
阅读次数:
397
${item_index?if_exists+1}//获取循环下标值,默认是从0开始的. ${item.userName?if_exists}
分类:
其他好文 时间:
2014-06-15 20:54:59
阅读次数:
346
printf("member:%d\n",member);//find current signoffsSAFECALL(AOM_ask_value_tags(msg.task,"signoff_attachments", &num, &signoffs));//remove exists revi...
分类:
其他好文 时间:
2014-06-15 07:21:08
阅读次数:
270
1、使用distinct查询所有不重复的记录2、创建数据表相同结构的临时表,将第一步的数据复制进去
create temporary table if not exists student_temp as (select distinct(name), sex
from student);3、tru...
分类:
数据库 时间:
2014-06-13 06:04:01
阅读次数:
290
DELETE FROM INV.MTL_RESERVATIONS MRWHERE EXISTS
(SELECT 1 FROM WSH.WSH_DELIVERY_ASSIGNMENTS WDA ,WSH.WSH_DELIVERY_DETAILS WDD
WHERE WDA.DELIVERY_DETA....
分类:
数据库 时间:
2014-06-12 13:14:48
阅读次数:
359
There is an need of kill one port is already in
use. The command is : lsof -i:8000 There will be a list of: command pid user fd
type device size...
分类:
其他好文 时间:
2014-06-08 21:47:33
阅读次数:
366
最近写了一个数据库采集程序,大概过程是将SQLSERVER数据库的数据定时采集到Oracle数据库。1小时出一次数据,每次数据量在2W左右。环境采用Sping3+hibernate4,数据库连接池采用C3p0
奇怪的时候每隔一段时间都会报:“c3p0 connection is already closed”
我开始的数据库连接池配置如下:oracle数据库开启事务,而采集的sqlserve...
分类:
其他好文 时间:
2014-06-08 18:02:04
阅读次数:
182
Recently, I’m studying Fourier Transform by
watching the lectures from Stanford University. I felt that I already forget the
math basics that I’ve lea...
分类:
其他好文 时间:
2014-06-07 20:57:16
阅读次数:
506