org.hibernate.MappingException: Foreign key (FK637007E11D64F93:muxes [location_id])) must have same number of columns as the referenced primary key (locations [name,network_name,network_type_id,country_id])

Google Groups | Mafalda | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Foreign key must have same number of columns as the referenced primary key

    Google Groups | 5 years ago | Mafalda
    org.hibernate.MappingException: Foreign key (FK637007E11D64F93:muxes [location_id])) must have same number of columns as the referenced primary key (locations [name,network_name,network_type_id,country_id])
  2. 0

    Foreig key must have same number of columns as the referenced primary key

    Coderanch | 5 years ago | Mafada Yeah
    org.hibernate.MappingException: Foreign key (FK637007E11D64F93:muxes [location_id])) must have same number of columns as the referenced primary key (locations [name,network_name,network_type_id,country_id])
  3. 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])
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

      Foreign key (FK637007E11D64F93:muxes [location_id])) must have same number of columns as the referenced primary key (locations [name,network_name,network_type_id,country_id])

      at org.hibernate.mapping.ForeignKey.alignColumns()
    2. Hibernate
      AnnotationConfiguration.buildSessionFactory
      1. org.hibernate.mapping.ForeignKey.alignColumns(ForeignKey.java:90)
      2. org.hibernate.mapping.ForeignKey.alignColumns(ForeignKey.java:73)
      3. org.hibernate.cfg.Configuration.secondPassCompileForeignKeys(Configuration.java:1263)
      4. org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1170)
      5. org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:324)
      6. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1286)
      7. org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:859)
      7 frames