编辑了个hibernatehelper 做了个登录界面 debug了下 执行到query.setParameter后报这个错误(发现map 和hql语句都传进去了) 代码在下面
Source not found for hibernateHelper$$FastClassByCGLIB$$decadcff.invoke(int, Object, Object[]) line: not available
```String hql="from Student where username=:username and userpassword=:password";
public Object queryUniq(String hql,Map map){
Query query=getSession().createQuery(hql);
if(null!=map){
Set set=map.keySet();
Iterator it=set.iterator();
while(it.hasNext()){
String key=(String)it.next();
if(key.contains("List")){
query.setParameterList(key, (Collection) map.get(key));
}else{
query.setParameter(key, map.get(key));
}
}
}
return query.uniqueResult();
}