java.lang.UnsupportedOperationException: not defined for custom collection types

Hibernate JIRA | Steve Sarandos | 1 decade 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      not defined for custom collection types

      at org.hibernate.type.CustomCollectionType.getReturnedClass()
    2. Hibernate
      Printer.toString
      1. org.hibernate.type.CustomCollectionType.getReturnedClass(CustomCollectionType.java:55)
      2. org.hibernate.type.CollectionType.toLoggableString(CollectionType.java:137)
      3. org.hibernate.pretty.Printer.toString(Printer.java:53)
      4. org.hibernate.pretty.Printer.toString(Printer.java:90)
      4 frames
    3. Hibernate
      SessionImpl.managedFlush
      1. org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:91)
      2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
      3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:669)
      4. org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:293)
      4 frames
    4. Hibernate
      JDBCTransaction.commit
      1. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86)
      1 frame