Restrictions.like("字段field","%表达式exp%");

Restrictions.like("字段field","%表达式exp%");
用hql语句就是 from table where field like '%exp%';

posted @ 2019-05-29 17:32  听风者丶  阅读(582)  评论(0编辑  收藏  举报