java.lang.ClassCastException: [B

Hibernate JIRA | Bill Burke | 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.

Root Cause Analysis

  1. java.lang.ClassCastException

    [B

    at org.hibernate.type.BlobType.set()
  2. Hibernate
    BasicEntityPersister.dehydrate
    1. org.hibernate.type.BlobType.set(BlobType.java:44)
    2. org.hibernate.type.BlobType.nullSafeSet(BlobType.java:112)
    3. org.hibernate.persister.entity.BasicEntityPersister.dehydrate(BasicEntityPersister.java:1632)
    3 frames