但是,它抛出了一个错误,显示为"Exception : could not locate named parameter [ids]; nested exception is org.hibernate.QueryParameterException我不能在Hibernate SQLQuery中使用setParameterList吗?我不能从jBoss中的Hibernate文档中读到很多东西。
@Query注释中,我检查集合中是否有字段,如果集合为空,则可能忽略集合:List<Entity> findByLst(@Param("lst") List<XEnum> lst, @Param("lstSize") int lstSize);
我称代码为:= new LinkedList<>() H