- 博客(2)
- 收藏
- 关注
原创 hibernate实现多条件组合的模糊查询
主要代码: @Transactional public List queryitems(int id, String name, String city, String price) { String hql="from Items it where 1=1"; if(id!=0) hql=hql+" and it.id like '%"+id+"%'"; if(name!=
2017-03-06 20:43:10 2300 1
原创 An association from the table score refers to an unmapped class: Student
An association from the table score refers to an unmapped class: Student。
2017-03-02 09:46:58 526
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人