Revision 20385

View differences:

branches/v10/extensions/extJDBC/src/com/iver/cit/gvsig/fmap/drivers/jdbc/postgis/PostGisDriver.java
550 550
			// y cogemos ese cacho
551 551
			rs.close();
552 552
			myCursorId++;
553
			st.execute("declare " + getTableName() + myCursorId + "_wkb_cursor binary scroll cursor with hold for " + sqlTotal);
553
			st.execute("declare " + getTableName() + myCursorId + "_wkb_cursorAbsolutePosition binary scroll cursor with hold for " + sqlTotal);
554 554
			st.executeQuery("fetch absolute " + fetch_min
555
			+ " in " + getTableName() + myCursorId + "_wkb_cursor");
555
			+ " in " + getTableName() + myCursorId + "_wkb_cursorAbsolutePosition");
556 556

  
557 557
			rs = st.executeQuery("fetch forward " + FETCH_SIZE
558
			+ " in " + getTableName() + myCursorId + "_wkb_cursor");
558
			+ " in " + getTableName() + myCursorId + "_wkb_cursorAbsolutePosition");
559 559

  
560 560
		}
561 561
		rs.absolute(index - fetch_min + 1);

Also available in: Unified diff