I have a test case (attached) which has this output:
Connected to PostgreSQL 9.0.1
Using PostgreSQL Native Driver PostgreSQL 9.3 JDBC4.1 (build 1101)
Executing statement: SELECT EMPNUM FROM WORKS WHERE EMPNUM > ?
Parameter value: E1
Processing result set: 0
Returned value: E2
Executing statement: SELECT ?
Parameter value: E9
Processing result set: 1
Returned value: E9
Updating first result set value: E2 , with new value: E9
SQL Exception processing result set for: SELECT ?
SQLState: 42703
SQLCode: 0
Message: The column name pnum was not found in this ResultSet.
I have not found anything similar in the mailing lists or archives.