VIRGIN FOREST OF JAVA
不要埋头苦干,要学习,学习,再学习。。。。。
powered by R.Zeus
1st:   mappings.setDefaultLazy(dlNode == null || dlNode.getValue().equals("true"));
2ed: mappings.setAutoImport((aiNode == null) ? true : "true".equals(aiNode.getValue()));

the first is seems a bit more effective than the second but less readable ,hence we choose the second!
bad programmer write code readed by machine and by contraries good programmer write code readed by human!
posted on 2006-09-30 18:07 R.Zeus 阅读(374) 评论(0)  编辑  收藏 所属分类: HibernateJ2SEDesign Pattern

只有注册用户登录后才能发表评论。


网站导航: