org.hibernate.MappingException: Unable to find logical column name from physical name component in table BugTestCase$MyEntity

Hibernate JIRA | Kenny MacLeod | 9 years ago
  1. 0

    foreign key must have same number of columns as the referenced primary key for manytoone mapping

    Stack Overflow | 2 years ago | user3824049
    org.hibernate.MappingException: Foreign key (FK6D56043A4415BDB5:student [userrole])) must have same number of columns as the referenced primary key (student_details [VALUE,DESCRIPTION])
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Hibernate java web application

    Stack Overflow | 4 years ago | Arnout
    org.hibernate.MappingException: An association from the table campingsperfestival refers to an unmapped class: festivalOverview.Campings
  4. 0

    Hibernate Annotations not working for getters but working for attributes

    Stack Overflow | 6 years ago | Mann
    org.hibernate.MappingException: Could not determine type for: com.xebia.hotelBooking.domain.Customer, at table: CustomerHotelBooking, for columns: [org.hibernate.mapping.Column(customer)]

    1 unregistered visitors
    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. org.hibernate.MappingException

      Unable to find logical column name from physical name component in table BugTestCase$MyEntity

      at org.hibernate.cfg.Mappings.getLogicalColumnName()
    2. Hibernate
      AnnotationConfiguration.buildSessionFactory
      1. org.hibernate.cfg.Mappings.getLogicalColumnName(Mappings.java:514)
      2. org.hibernate.cfg.IndexOrUniqueKeySecondPass.doSecondPass(IndexOrUniqueKeySecondPass.java:61)
      3. org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1136)
      4. org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:324)
      5. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
      6. org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:859)
      6 frames