![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
开发问题记录
weixin_40778059
这个作者很懒,什么都没留下…
展开
-
记一次synchronized 锁经历
我们用的是struts2,struts2一个请求对应1个action,导致synchronized起不到任何作用。导致并发时插入多条数据。 所以我想把锁加到代码块。使用synchronized(memberid)。发现根本没用。百度查了资料说使用synchronized(memberid.intern())。 但这个在jdk6里问题不算大,因为String.intern()会在perm里产生空...原创 2018-08-03 15:12:09 · 574 阅读 · 0 评论 -
svn: E155004: There are unfinished work items in ''; run 'svn cleanup'
问题记录 vn执行clean up命令时报错“Previous operation has not finished; run ‘cleanup’ if it was interrupted” 解决方法 到https://www.sqlite.org/download.html下载我的是win。 下载后将sqlite3.exe放到svn 项目的主目录下,和.svn目录同级下。 在这个目录下cmd...原创 2019-06-28 14:28:19 · 550 阅读 · 0 评论