Hibernate关闭缓存,HQL子句

applicationContext-aft-sso.xml

<property name="interceptorNames">

..........删除内容

</property>

 

HQL条件查询:

String hql =

from TaclRoleuser userid='"+userId+"' and roleid='"+roleId+"';

你可能感兴趣的:(Hibernate关闭缓存,HQL子句)