例如
String hql = "FROM a WHERE (name = 'test' and name = 'test' ) or (name = 'test' and name = 'test' ) ";
session.createQuery(hql).list();执行后,Hibernate生成的sql是
from a where name = 'test' and name = 'test'  or name = 'test' and name = 'test' 括号莫名其妙的不见了,改成用in好像括号就不会消失,这个是怎么回事?刚学hibernate,不是很清楚,
是不是hql支持不了,改用qbc?