org.hibernate.MappingException: Unable to find column with logical name: customerID in ShoppingBasket

Hibernate JIRA | Eddie Man | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to instantiate custom type error in Hibernate mapping Enum mapping

    Stack Overflow | 4 years ago | Johnny
    org.hibernate.MappingException: Unable to instantiate custom type: org.hibernate.type.EnumType
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Hibernate mapping. Table related with other two

    Stack Overflow | 1 year ago | Rob
    org.hibernate.MappingException: An association from the table A refers to an unmapped class: Shortcut

  1. kuldeep 16 times, last 5 months ago
  2. esaar 1 times, last 7 months ago
  3. r1chjames 1 times, last 8 months ago
  4. Kawada 6 times, last 9 months ago
  5. Harsh 1 times, last 10 months ago
34 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 column with logical name: customerID in ShoppingBasket

    at org.hibernate.cfg.Ejb3JoinColumn.checkReferencedColumnsType()
  2. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.cfg.Ejb3JoinColumn.checkReferencedColumnsType(Ejb3JoinColumn.java:383)
    2. org.hibernate.cfg.BinderHelper.createSyntheticPropertyReference(BinderHelper.java:88)
    3. org.hibernate.cfg.FkSecondPass.doSecondPass(FkSecondPass.java:63)
    4. org.hibernate.cfg.AnnotationConfiguration.processFkSecondPassInOrder(AnnotationConfiguration.java:428)
    5. org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:286)
    6. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1286)
    6 frames
  3. test
    Main.main
    1. test.Main.main(Main.java:19)
    1 frame