i have question about Hibernate in JPA mode.
There is error message:
com.microsoft.sqlserver.jdbc.SQLServerException
The requested operation is not supported on forward only result sets. When java.persistence.Query
set setMaxResults
using by hibernate
in JPA
. I need to use setMaxResults()
.
确保为JPA 添加的配置文件和jar 文件正确。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.