上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 37 下一页
摘要: 首先,ThreadLocal 不是用来解决共享对象的多线程访问问题的,一般情况下,通过ThreadLocal.set() 到线程中的对象是该线程自己使用的对象,其他线程是不需要访问的,也访问不到的。各个线程中访问的是不同的对象。另外,说ThreadLocal使得各线程能够保持各自独立的一个对象,并不... 阅读全文
posted @ 2015-04-02 16:38 GisClub 阅读(364) 评论(0) 推荐(0) 编辑
摘要: java.security.cert.CertificateException: Certificates does not conform to algorithm constraintsSSL证书问题出现此错误信息时解决办法:找到jre路径:JDK_HOME/jre/lib/security/j... 阅读全文
posted @ 2015-04-01 17:38 GisClub 阅读(576) 评论(0) 推荐(0) 编辑
摘要: http协议对mime类型有详细描述,multipart/....是单个消息头包含多个消息体的解决方案。multipart媒体类型对发送非文本的各媒体类型是有用的。目前常用的有这些subtype:Messages with multiple partsmultipart/mixedMessages ... 阅读全文
posted @ 2015-04-01 09:44 GisClub 阅读(5829) 评论(0) 推荐(0) 编辑
摘要: 在操作mysql数据库表时出现以下错误。网上google搜索相关问题,发现一位外国牛人这么解释:If you're running an operation on a large number of rows within a table that uses the InnoDB storage e... 阅读全文
posted @ 2015-03-30 11:10 GisClub 阅读(577) 评论(0) 推荐(0) 编辑
摘要: Spring事务的传播行为在service类前加上@Transactional,声明这个service所有方法需要事务管理。每一个业务方法开始时都会打开一个事务。Spring默认情况下会对运行期例外(RunTimeException)进行事务回滚。这个例外是unchecked如果遇到checked意... 阅读全文
posted @ 2015-03-27 13:09 GisClub 阅读(211) 评论(0) 推荐(0) 编辑
摘要: spring 事务注解默认遇到throw new RuntimeException("...");会回滚需要捕获的throw new Exception("...");不会回滚// 指定回滚@Transactional(rollbackFor=Exception.class) public void... 阅读全文
posted @ 2015-03-27 13:07 GisClub 阅读(206) 评论(0) 推荐(0) 编辑
摘要: java.lang.Exception:### Error updating database. Cause: java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction### The error may... 阅读全文
posted @ 2015-03-27 13:05 GisClub 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 我的mysql报这个错 err=1205 - Lock wait timeout exceeded; try restarting transaction利用 SHOW PROCESSLIST来查看问题原因:原因是你使用的InnoDB 表类型的时候,默认参数:innodb_lock_wait_tim... 阅读全文
posted @ 2015-03-27 13:03 GisClub 阅读(1710) 评论(0) 推荐(0) 编辑
摘要: java.sql.SQLException: Lock wait timeout exceeded |org.springframework.dao.CannotAcquireLockException 的解决 直接上bug 的详细信息:[java]view plaincopyprint?20... 阅读全文
posted @ 2015-03-27 13:00 GisClub 阅读(6338) 评论(0) 推荐(0) 编辑
摘要: 今天纠结了一天的时间,使用pop3协议收取qq邮箱中邮件时,因为一个特别坑爹的问题重新写n次,最后发现是因为qq邮箱设置了独立邮箱密码,必须的用独立邮箱密码登陆才行,/(ㄒoㄒ)/~~!!!!但今天干的活也不能白干,所以发出来记录一下代码。package com.lkb.thirdUtil.emai... 阅读全文
posted @ 2015-03-24 18:29 GisClub 阅读(1135) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 37 下一页