带有PostgreSQL 11.0-1的Moqui框架2.1。 使用实体查找:
<entity-find entity-name="mantle.product.asset.PhysicalInventoryCount" list="physicalInventoryCountList" >
<limit-range start = "limitRangeStart" size="limitRangesize"/>
</entity-find>
错误为:
Error going to absolute row number 1. Operation requires a scrollable ResultSet, but this ResultSet is FORWARD_ONLY.
然后更改:
EntityFindBase.defaultResultSetType = ResultSet.TYPE_SCROLL_INSENSITIVE
然后一切正常。
想知道将defaultResultSetType
从TYPE_FORWARD_ONLY
更改为TYPE_SCROLL_INSENSITIVE
有什么副作用吗?我不熟悉JDBC,有人知道吗?