com.sybase.jdbc3.utils.UnimplementedOperationException: Methode com.sybase.jdbc3.jdbc.SybConnection.prepareStatement(String, int) is not implemented and should not be called.

Hibernate JIRA | Jens Elkner | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    (minor) 07:24:41,184 [main] WARN (JDBCExceptionReporter.java:49) - 010SK: Unable to set database option SET_CATALOG. (major) Exception in thread "main" com.sybase.jdbc3.utils.UnimplementedOperationException: Methode com.sybase.jdbc3.jdbc.SybConnection.prepareStatement(String, int) is not implemented and should not be called. at com.sybase.jdbc3.jdbc.ErrorMessage.raiseRuntimeException(ErrorMessage.java:957) at com.sybase.jdbc3.utils.Debug.notImplemented(Debug.java:387) at com.sybase.jdbc3.jdbc.SybConnection.prepareStatement(SybConnection.java:916) with jconn2 driver one will get: Exception in thread "main" java.lang.AbstractMethodError: com.sybase.jdbc2.jdbc.SybConnection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.hibernate.util.GetGeneratedKeysHelper.prepareStatement(GetGeneratedKeysHelper.java:39) ... BTW: It would be nice, if you could issue a warning, if one uses @UniqueConstraint(columnNames = { "firstname", "lastname" } and @Column(name="firstname", nullable=true, length=255) public String getFirstname() { ... } In this case, Sybase Anywhere converts silently the 'firstname' column to 'NOT NULL' and if one tries to insert a null value ...

    Hibernate JIRA | 1 decade ago | Jens Elkner
    com.sybase.jdbc3.utils.UnimplementedOperationException: Methode com.sybase.jdbc3.jdbc.SybConnection.prepareStatement(String, int) is not implemented and should not be called.
  2. 0

    (minor) 07:24:41,184 [main] WARN (JDBCExceptionReporter.java:49) - 010SK: Unable to set database option SET_CATALOG. (major) Exception in thread "main" com.sybase.jdbc3.utils.UnimplementedOperationException: Methode com.sybase.jdbc3.jdbc.SybConnection.prepareStatement(String, int) is not implemented and should not be called. at com.sybase.jdbc3.jdbc.ErrorMessage.raiseRuntimeException(ErrorMessage.java:957) at com.sybase.jdbc3.utils.Debug.notImplemented(Debug.java:387) at com.sybase.jdbc3.jdbc.SybConnection.prepareStatement(SybConnection.java:916) with jconn2 driver one will get: Exception in thread "main" java.lang.AbstractMethodError: com.sybase.jdbc2.jdbc.SybConnection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.hibernate.util.GetGeneratedKeysHelper.prepareStatement(GetGeneratedKeysHelper.java:39) ... BTW: It would be nice, if you could issue a warning, if one uses @UniqueConstraint(columnNames = { "firstname", "lastname" } and @Column(name="firstname", nullable=true, length=255) public String getFirstname() { ... } In this case, Sybase Anywhere converts silently the 'firstname' column to 'NOT NULL' and if one tries to insert a null value ...

    Hibernate JIRA | 1 decade ago | Jens Elkner
    com.sybase.jdbc3.utils.UnimplementedOperationException: Methode com.sybase.jdbc3.jdbc.SybConnection.prepareStatement(String, int) is not implemented and should not be called.

    1 unregistered visitors

    Root Cause Analysis

    1. com.sybase.jdbc3.utils.UnimplementedOperationException

      Methode com.sybase.jdbc3.jdbc.SybConnection.prepareStatement(String, int) is not implemented and should not be called.

      at com.sybase.jdbc3.jdbc.ErrorMessage.raiseRuntimeException()
    2. com.sybase.jdbc3
      SybConnection.prepareStatement
      1. com.sybase.jdbc3.jdbc.ErrorMessage.raiseRuntimeException(ErrorMessage.java:957)
      2. com.sybase.jdbc3.utils.Debug.notImplemented(Debug.java:387)
      3. com.sybase.jdbc3.jdbc.SybConnection.prepareStatement(SybConnection.java:916)
      3 frames