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

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

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