随笔-61  评论-159  文章-0  trackbacks-0
  2008年1月21日
posted @ 2015-03-18 22:05 apple0668 阅读(568) | 评论 (0)编辑 收藏
posted @ 2012-07-07 22:11 apple0668 阅读(549) | 评论 (0)编辑 收藏
     摘要: TDD 重构 eclipse 快捷键  阅读全文
posted @ 2012-04-28 15:56 apple0668 阅读(1349) | 评论 (0)编辑 收藏
posted @ 2011-05-11 15:48 apple0668 阅读(5160) | 评论 (6)编辑 收藏
posted @ 2011-05-09 22:21 apple0668 阅读(3050) | 评论 (0)编辑 收藏
posted @ 2011-05-04 16:09 apple0668 阅读(9339) | 评论 (0)编辑 收藏
posted @ 2010-01-17 21:11 apple0668 阅读(4298) | 评论 (0)编辑 收藏
posted @ 2010-01-17 21:08 apple0668 阅读(6056) | 评论 (2)编辑 收藏
posted @ 2009-03-19 21:56 apple0668 阅读(1532) | 评论 (0)编辑 收藏
posted @ 2008-12-06 23:42 apple0668 阅读(2598) | 评论 (0)编辑 收藏
posted @ 2008-12-03 21:34 apple0668 阅读(3891) | 评论 (1)编辑 收藏
posted @ 2008-11-29 21:35 apple0668 阅读(1153) | 评论 (0)编辑 收藏
posted @ 2008-11-28 22:56 apple0668 阅读(3749) | 评论 (2)编辑 收藏
posted @ 2008-11-27 22:44 apple0668 阅读(1871) | 评论 (0)编辑 收藏
posted @ 2008-11-19 21:11 apple0668 阅读(2243) | 评论 (1)编辑 收藏
posted @ 2008-11-04 23:48 apple0668 阅读(3996) | 评论 (0)编辑 收藏
posted @ 2008-10-31 23:39 apple0668 阅读(809) | 评论 (0)编辑 收藏
posted @ 2008-10-31 20:46 apple0668 阅读(1472) | 评论 (0)编辑 收藏
posted @ 2008-10-28 23:56 apple0668 阅读(828) | 评论 (0)编辑 收藏
posted @ 2008-10-27 23:48 apple0668 阅读(1456) | 评论 (0)编辑 收藏
posted @ 2008-10-26 13:16 apple0668 阅读(2252) | 评论 (2)编辑 收藏
posted @ 2008-10-23 23:19 apple0668 阅读(700) | 评论 (0)编辑 收藏
posted @ 2008-10-22 13:22 apple0668 阅读(1670) | 评论 (0)编辑 收藏
posted @ 2008-10-13 21:48 apple0668 阅读(428) | 评论 (0)编辑 收藏
posted @ 2008-10-12 23:01 apple0668 阅读(498) | 评论 (0)编辑 收藏
posted @ 2008-10-12 21:59 apple0668 阅读(770) | 评论 (0)编辑 收藏
posted @ 2008-10-11 13:37 apple0668 阅读(645) | 评论 (0)编辑 收藏
posted @ 2008-10-10 21:38 apple0668 阅读(1174) | 评论 (1)编辑 收藏
posted @ 2008-10-10 13:31 apple0668 阅读(382) | 评论 (0)编辑 收藏
     摘要: 会在多的一端加入一个外键,指向一的一端,这个外键是由
中的column属性定义的,如果忽略了这个属性那么默认的外键与实体的属性一致!  阅读全文
posted @ 2008-10-09 21:01 apple0668 阅读(588) | 评论 (0)编辑 收藏
     摘要: transient、persistent、detached状态,对于使用hibernate在开发过程中起着比较重要的意义。  阅读全文
posted @ 2008-10-09 20:51 apple0668 阅读(470) | 评论 (0)编辑 收藏
     摘要: hibernate中的Seesion两个方法:get,load。get不支持lazy,load支持lazy。采用get加载数据,如果没有匹配的数据,返回null,而load则抛出异常。
  阅读全文
posted @ 2008-10-09 20:38 apple0668 阅读(456) | 评论 (0)编辑 收藏
     摘要: 一般在项目开发过程中,使用比较多的就是先建好表,再利用hibernate反向工程生成*.hbm.xml文件跟POJO类,个人认为由于目前所使用的数据库都是关系数据库,而hibernate作为一个ORM,把对数据库的操作都对象化了,更应当从对象出发,生成数据库里面相关表,这样更加符合人认知事物的习惯。
  阅读全文
posted @ 2008-09-29 12:56 apple0668 阅读(18659) | 评论 (5)编辑 收藏
     摘要: eclipse的第一个struts2插件:Alveole Studio MVC Web Project An eclipse plugin for Struts 2,感觉还可以,大家感兴趣去用一下。  阅读全文
posted @ 2008-04-21 18:12 apple0668 阅读(15725) | 评论 (32)编辑 收藏
     摘要: ssh2中采用dao---service---action分层结构。  阅读全文
posted @ 2008-01-21 11:37 apple0668 阅读(3921) | 评论 (0)编辑 收藏
     摘要: ssh2三大框架整合时遇到的一个ConstraintViolationException异常。  阅读全文
posted @ 2008-01-21 10:39 apple0668 阅读(5264) | 评论 (2)编辑 收藏