摘要:
①selectByPrimaryKey()User user = userDAO.selectByPrimaryKey(100); 相当于select * from user where id = 100②selectByExample() 和selectByExampleWithBLOGs()UserExample example =newUserExample();Criteriacriteria = example.createCriteria();criteria.andUsernameEqualTo("joe");criteria.andUsernameIsNul 阅读全文
posted @ 2012-05-15 21:21
刘振明
阅读(1515)
评论(2)
推荐(0)

浙公网安备 33010602011771号