SAP Knowledge Base Article - Preview

2595698 - UnimplementedOperationException happens when using a method 'setNull' with 3 parameters - SAP SDK.

Symptom

  • When you perform a java program that includes a method ‘setNull’ with 3 parameters, the following error happened.
    Exception in thread "main" com.sybase.jdbc4.utils.UnimplementedOperationException:
    The method com.sybase.jdbc4.jdbc.SybCallableStatement.setNull(int, int, String) has not been completed and should not be called.

  • In the file SybCallableStatement.java, we can find that the method 'setNull' has no content even though the 'setNull' is declared.
    public void setNull(String paramString, int paramInt) throws SQLException {
     a(paramInt, paramString, null)
     }
      public void setNull(String paramString1, int paramInt, String paramString2) throws SQLException
        Debug.notImplemented(this, "setNull(String, int, String)")
     }

Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7 ESD xxx
  • SAP Sybase Software Developer Kit (SDK) 15.7 SPxxx
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0 SPxxx PLxx
  • jConnect
    • JDBC 6.0.5
    • JDBC 7.0
    • JDBC 7.07
    • JDBC 16 ( is version JDBC 7.07 )

Product

SAP Adaptive Server Enterprise SDK 16.0 ; Sybase SDK 15.7 ; Sybase Software Developer Kit 15.7

Keywords

UnimplementedOperationExceptionv, jconn4.jar , KBA , BC-SYB-SDK , SDK , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.