HQL in 关键字查询 报出“Ljava.lang.Long; cannot be cast to java.lang.Long“异常。 传入参数 Long[]类型:userIds Long类型:rid Query q = getSession().createQuery("select user from User user join user.roles as role where role
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号