hibernate session.createSQLQuery 模糊查询失败

Hibernate:
SELECT
*
from
court
where
is_delete=0

and name like '%成成%' limit ?
将上面的SQL放到工具上面可以执行成功,但是hibernate查询不到数据。
如果我将高尔夫换成英文或者数字就可以查询成功,网上很多人都说是乱码照成的,但是我的SQL显示的不是乱码。请问有谁知道什么原因,并且如何解决。
hibernate 版本4.3.5

hibernate不是用hql吗?你试试select * from court t where t.is_delete=0 and t.name like '%成成%'看看