![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
iteye_19562
这个作者很懒,什么都没留下…
展开
-
Add the changing message in your java code
When you are developing a java project,you maybe want to log the history of the reason of changing your java code.You can write some comment on the head of a java file,but if there are too many files ...2008-01-14 11:35:00 · 75 阅读 · 0 评论 -
Use URLClassLoader load jar files into classpath
[code="java"]import java.io.File;import java.net.MalformedURLException;import java.net.URL;import java.net.URLClassLoader;import java.sql.Connection;import java.sql.Driver;import java.sql....2008-03-24 21:14:57 · 100 阅读 · 0 评论 -
My first blog in english
Because I need to use english in my work,I decide to write my blog in english.I can use english to log what i study every day orwhat i do,and so on.In this project,I decide to use tdd to develop pr...2007-09-07 17:11:03 · 148 阅读 · 0 评论 -
Ibatis自定义SQL传List参数
其实很简单,但是没有用过,也就没有去研究。今天被别人问起,就看了一下自动生成的Example类的代码里怎么实现in的。只需要把where条件的in后面加上如下的代码就可以了[code="java"] #key[]#[/code]这段代码一看也就明白了,就是遍历key属性里的值,分别以"("开头,")"结尾,并以逗号分隔。...原创 2010-06-18 15:34:55 · 236 阅读 · 0 评论 -
JVM调优总结
转至【http://pengjiaheng.spaces.live.com/blog/cns!2DAA368B386E6AEA!770.entry】一、相关概念基本回收算法引用计数(Reference Counting)比较古老的回收算法。原理是此对象有一个引用,即增加一个计数,删除一个引用则减少一个计数。垃圾回收时,只用收集计数为0的对象。此算法最致命的是无法处理循环...原创 2010-06-21 15:46:12 · 87 阅读 · 0 评论