Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/121#discussion_r42009529
--- Diff:
core/conn/jdbc_type4/src/org/trafodion/jdbc/t4/TrafT4ResultSet.java ---
@@ -4299,12 +4299,10 @@ private BaseRow getCurrentRow() throws SQLException
{
return insertRow_;
} else {
if (isBeforeFirst_) {
- String cursorExpt = "The cursor is before the
first row, therefore no data can be retrieved.";
- throw
HPT4Messages.createSQLException(connection_.props_, connection_.getLocale(),
cursorExpt, null);
+ throw
HPT4Messages.createSQLException(connection_.props_, connection_.getLocale(),
"cursor_is_before_first_row", null);
}
if (isAfterLast_) {
- String cursorExpt = "The cursor is after last
row, which could be due to the result set containing no rows, or all rows have
been retrieved.";
- throw
HPT4Messages.createSQLException(connection_.props_, connection_.getLocale(),
cursorExpt, null);
+ throw
HPT4Messages.createSQLException(connection_.props_, connection_.getLocale(),
"cursor_after_last_row", null);
--- End diff --
Similar comments here.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---