java.lang.AbstractMethodError: Method org/jadira/usertype/dateandtime/joda/PersistentDateTime.nullSafeSet(Ljava/sql/PreparedStatement;Ljava/lang/Object;ILorg/hibernate/engine/spi/SharedSessionContractImplementor;)V is abstract

Stack Overflow | nattaliahi | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error while trying to run Junit test with Hibernate 5.2.1

    Stack Overflow | 8 months ago | nattaliahi
    java.lang.AbstractMethodError: Method org/jadira/usertype/dateandtime/joda/PersistentDateTime.nullSafeSet(Ljava/sql/PreparedStatement;Ljava/lang/Object;ILorg/hibernate/engine/spi/SharedSessionContractImplementor;)V is abstract

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      Method org/jadira/usertype/dateandtime/joda/PersistentDateTime.nullSafeSet(Ljava/sql/PreparedStatement;Ljava/lang/Object;ILorg/hibernate/engine/spi/SharedSessionContractImplementor;)V is abstract

      at org.jadira.usertype.dateandtime.joda.PersistentDateTime.nullSafeSet()
    2. Jadira Usertype Core (for Joda Time, Joda Money, Libphonenum and JDK Types with Hibernate)
      PersistentDateTime.nullSafeSet
      1. org.jadira.usertype.dateandtime.joda.PersistentDateTime.nullSafeSet(PersistentDateTime.java)
      1 frame
    3. Hibernate
      AbstractEntityPersister.insert
      1. org.hibernate.type.CustomType.nullSafeSet(CustomType.java:160)
      2. org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2646)
      3. org.hibernate.persister.entity.AbstractEntityPersister.dehydrate(AbstractEntityPersister.java:2621)
      4. org.hibernate.persister.entity.AbstractEntityPersister$4.bindValues(AbstractEntityPersister.java:2832)
      5. org.hibernate.id.insert.AbstractReturningDelegate.performInsert(AbstractReturningDelegate.java:41)
      6. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2840)
      7. org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3411)
      7 frames