org.hibernate.MappingException: Same logical column name referenced several times: Boy_countryAttitudes.boy_id Boy_id boy_id

Hibernate JIRA | Chris Wood | 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. org.hibernate.MappingException

      Same logical column name referenced several times: Boy_countryAttitudes.boy_id Boy_id boy_id

      at org.hibernate.cfg.Mappings.addColumnBinding()
    2. Hibernate
      Ejb3JoinColumn.addColumnBinding
      1. org.hibernate.cfg.Mappings.addColumnBinding(Mappings.java:457)
      2. org.hibernate.cfg.Ejb3JoinColumn.addColumnBinding(Ejb3JoinColumn.java:316)
      2 frames