我有查询以获取ScrollableCursor:
@Override
public ScrollableCursor getScrollableCursor(LocalDateTime startDateTime) {
TypedQuery<ScrollableCursor> query = createQuery(SELECT_QUERY, ScrollableCursor.class)
.setParameter("startDateTime", startDateTime)
.setHint(QueryHints.SCROLLABLE_CURSOR, HintValues.TRUE);
return query.getSingleResult();
}
为什么在我的本地JBoss上我打开了ResultSet并获得了光标,而在其他JBoss上却有人关闭了ResultSet?哪些服务器配置参数可以负责?