java.lang.ClassCastException: org.hibernate.metamodel.relational.Column cannot be cast to org.hibernate.mapping.Column

Hibernate JIRA | Janario Oliveira | 4 years ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Hibernate @Formula annotation causes a Hibernate Validator warning and stack trace

    Stack Overflow | 3 years ago | Trippy
    java.lang.ClassCastException: org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column
  3. 0

    Hibernate and @JoinFormula: org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column

    Stack Overflow | 3 years ago | Ben
    java.lang.ClassCastException: org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column

    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.ClassCastException

      org.hibernate.metamodel.relational.Column cannot be cast to org.hibernate.mapping.Column

      at org.hibernate.dialect.unique.DefaultUniqueDelegate.uniqueConstraintSql()
    2. Hibernate
      DefaultUniqueDelegate.uniqueConstraintSql
      1. org.hibernate.dialect.unique.DefaultUniqueDelegate.uniqueConstraintSql(DefaultUniqueDelegate.java:137)
      1 frame