摘要: 在使用Hibernate或者JPA时,我们经常会使用@Where注解实现查询过滤,在实体类上、实体属性上、查询语句上都有应用。 例如: 注意:应用在查询时需要注意,不可以应用在count上,注解源码可知: 阅读全文
posted @ 2019-01-17 18:26 lijianfeng2017 阅读(5867) 评论(0) 推荐(0) 编辑