java.lang.ClassCastException

org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column

Solutions on the web19044

  • via Hibernate JIRA by Flemming Harms, 7 months ago
    org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column
  • org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column
  • via Hibernate JIRA by Kevin Schmidt, 1 year ago
    org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column
  • Stack trace

    • java.lang.ClassCastException: org.hibernate.mapping.Formula cannot be cast to org.hibernate.mapping.Column at org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyNotNull(TypeSafeActivator.java:314)[hibernate-core-4.1.11.Final.jar:4.1.11.Final] at org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyConstraints(TypeSafeActivator.java:247)[hibernate-core-4.1.11.Final.jar:4.1.11.Final] at org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyDDL(TypeSafeActivator.java:209)[hibernate-core-4.1.11.Final.jar:4.1.11.Final] at org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyRelationalConstraints(TypeSafeActivator.java:186)[hibernate-core-4.1.11.Final.jar:4.1.11.Final] at org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyRelationalConstraints(TypeSafeActivator.java:158)[hibernate-core-4.1.11.Final.jar:4.1.11.Final] at org.hibernate.cfg.beanvalidation.TypeSafeActivator.activate(TypeSafeActivator.java:110)[hibernate-core-4.1.11.Final.jar:4.1.11.Final]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.