摘要:
用了这么长时间的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 阅读全文