java.lang.AbstractMethodError: com.sybase.jdbc2.jdbc.SybConnection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;

Hibernate JIRA | Jens Elkner | 1 decade ago
  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
    java.lang.AbstractMethodError: com.sybase.jdbc2.jdbc.SybConnection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;
  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
    java.lang.AbstractMethodError: com.sybase.jdbc2.jdbc.SybConnection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;
  3. 0

    SAP Sybase Forums - jConnect - General Discussion - java.lang.AbstractMethodError using Hibernate with an identity column

    sybase.com | 1 year ago
    java.lang.AbstractMethodError: com.sybase.jdbc2.jdbc.SybConnection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    forum.andromda.org • View topic - java.lang.AbstractMethodError

    andromda.org | 1 year ago
    java.lang.AbstractMethodError: org.andromda.impactsBD.domain.FichierSQLCibleServiceImpl.getAllFichiersSQL()[Lorg/andromda/impactsBD/domain/FichierSQLCibleVO;
  6. 0

    preRegister() failed for JMImplementation:type=MBeanServerDelegate:

    Oracle Community | 8 years ago | 843798
    java.lang.AbstractMethodError: org.jboss.security.auth.login.XMLLoginConfig.jbossInternalLifecycle (Ljava/lang/String;)V

    14 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      com.sybase.jdbc2.jdbc.SybConnection.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatement;

      at sun.reflect.NativeMethodAccessorImpl.invoke0()
    2. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    3. Hibernate
      GetGeneratedKeysHelper.prepareStatement
      1. org.hibernate.util.GetGeneratedKeysHelper.prepareStatement(GetGeneratedKeysHelper.java:39)
      1 frame