org.hibernate.query.Query.list被否决了。从hibernate查询获得结果的非推荐方法是什么?我真不敢相信我这么难找到这个:)<UploadStatus> query = session.createQuery("select us from UploadStatus us whereus.uploadFileId = :uploadFileId")
.setParameter("uploadFileId", fileUplo
org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:970) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1115)在org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
谁知道什么是理由?