摘要: 用了这么长时间的hibernate/spring,如果不是今天用的findByExample方法到现在还不知道findByExample的机制。惭愧Class User{ String username; String password = "默认口令"; Company company; getter()&setter().....}Company company = companyDao.getById("id");User user = new User();user.setSid("主键");uer.setUserna 阅读全文
posted @ 2013-04-18 15:34 夜香 阅读(532) 评论(0) 推荐(0) 编辑