The JDBC resultset must be positioned on an insert row in order to use the '%1' function

Error constant SQLE_JDBC_MUST_OPER_ON_INSERT_ROW
ODBC 2 State ERROR
ODBC 3 State ERROR
Parameter 1 Name of the resultset function being called.
Severity 16
SQLCODE –753
SQLSTATE WJ020
Sybase error code 13764
Probable cause

Resultset functions such as insertRow can only be called when the resultset is positioned on the insert row.