2010年9月14日

摘要: 为人民服务 阅读全文
posted @ 2010-09-14 14:46 笑笑江南 阅读(187) 评论(0) 推荐(0) 编辑

2010年8月19日

摘要: 我们要实现延迟加载(lazy loadding)的功能需要把ibatis的两项配置做一下修改。<settings…… lazyLoadingEnabled=”true” enhancementEnabled=”true” ……/> 阅读全文
posted @ 2010-08-19 23:38 笑笑江南 阅读(690) 评论(0) 推荐(0) 编辑
 
摘要: XML<resultMap id="sub-menu-map" class="menu"> <result property="id" column="subid" /> <result property="name" column="subname" /></resultMap> <resultMap id="menu-map" clas... 阅读全文
posted @ 2010-08-19 23:21 笑笑江南 阅读(1346) 评论(0) 推荐(0) 编辑

2010年5月6日

摘要: 第一步:让Outlook2007最小化时在系统托盘  打开Outlook2007,在系统托盘的Outlook图标上右键,选中“最小化时隐藏”。第二步:让Outlook2007开机启动  找到Outlook2007的快捷图标,复制。点击“开始/所有程序/启动”,在启动上右键,选择“打开”,粘贴。第三步:让Outlook2007开... 阅读全文
posted @ 2010-05-06 09:59 笑笑江南 阅读(35586) 评论(0) 推荐(9) 编辑

2010年4月14日

摘要: 一:有意义的命名避免使用编码把类型或作用域编进名称里面,徒然增加了解码的负担。每个概念对应一个词使用解决方案领域名称 记住,只有程序员才会读你的代码。所以,尽管用那些计算机科学(Computer Science,CS)术语、算法名、模式名、数学术语吧。依据问题所涉领域来命名可不算是聪明的做法,因为不该让协作者老是跑去问客户每个名称的含义,其实他们早该通过另一名称了解这个概念了。对于熟悉访问者(VI... 阅读全文
posted @ 2010-04-14 16:33 笑笑江南 阅读(302) 评论(0) 推荐(0) 编辑

2010年4月9日

摘要: Dependency between classes means that one class uses, or has knowledge of, another class. It is typically a transient relationship, meaning a dependent class briefly interacts with the target class bu... 阅读全文
posted @ 2010-04-09 16:05 笑笑江南 阅读(217) 评论(0) 推荐(0) 编辑

2009年11月15日

摘要: 大小写转换:ctrl+shift+x/y 阅读全文
posted @ 2009-11-15 03:07 笑笑江南 阅读(185) 评论(0) 推荐(0) 编辑

2009年9月16日

摘要: update company_test ,no_ic_code set company_test.ic_code = no_ic_code.执照注册号where no_ic_code.企业名称 = company_test.name update company_test ,t_all set company_test.ic_code = t_all.工商登记号where t_all.企业名称 =... 阅读全文
posted @ 2009-09-16 01:47 笑笑江南 阅读(167) 评论(0) 推荐(0) 编辑

2009年9月7日

摘要: Connection is read-only. Queries leading to data modification are not allowed.could not initialize proxy - the owning Session was closed 没有被spring 管理。 阅读全文
posted @ 2009-09-07 19:26 笑笑江南 阅读(176) 评论(0) 推荐(0) 编辑

2009年9月6日

摘要: 一、常用字符串函数1.CONCAT(str1,str2,...)mysql>?concat;mysql>SELECTCONCAT('My','S','QL');+-------------------------+|CONCAT('My','S','QL')|+-------------------------+|MySQL|+-------------------------+2.I... 阅读全文
posted @ 2009-09-06 18:39 笑笑江南 阅读(1573) 评论(0) 推荐(0) 编辑