JDBC T2 and T4 drivers return different errors if we try to fetch rows when cursor is beyond resultset or if resultset is empty.
Exception...The cursor is after last row, which could be due to the result set containing no rows, or all rows have been retrieved.
Exception...The message id: invalid_row
org.trafodion.jdbc.t4.HPT4Exception: The message id: invalid_row
Rao thinks this maybe bcoz T2 is not optimized and its still going to server.