org.hibernate.AnnotationException: @OneToOne or @ManyToOne on com.example.jobcard.domain.JobCard.location references an unknown entity: com.example.geographics.domain.Address

Stack Overflow | Anil Bharadia | 3 months ago
  1. 0

    Use hibernate entities from external jar

    Stack Overflow | 3 months ago | Anil Bharadia
    org.hibernate.AnnotationException: @OneToOne or @ManyToOne on com.example.jobcard.domain.JobCard.location references an unknown entity: com.example.geographics.domain.Address
  2. 0

    WildFly8 JPA2.1 and Enumerated values

    Stack Overflow | 3 years ago | drodil
    org.hibernate.AnnotationException: Attribute [com.project.ejb.model.Zoo.animals] was annotated as enumerated, but its java type is not an enum [java.lang.String]
  3. 0

    Hibernate JPA how to convert list-index hbm attribute to annotations?

    Stack Overflow | 2 years ago | Moussi
    org.hibernate.AnnotationException: Unable to create unique key constraint (TYPE_COMPARUTION_COURRIER_TYPES_COURRIERS_IDX) on table TYPES_COMPARUTIONS2TYPES_COURRIERS: database column 'TYPE_COMPARUTION_COURRIER_TYPES_COURRIERS_IDX' not found. Make sure that you use the correct column name which depends on the naming strategy in use (it may not be the same as the property name in the entity, especially for relational types)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hibernate error when using single table inheritance

    Stack Overflow | 2 years ago | P.P├ęter
    org.hibernate.AnnotationException: Foreign key circularity dependency involving the following tables:
  6. 0

    JPA error: expecting IdClass mapping

    Stack Overflow | 2 years ago | Heiko Wiesner
    org.hibernate.AnnotationException: Unable to define @Version on an embedded class: de.itwiesner.hannymede.common.valueobjects.VoBusinessObject

  1. tjago 4 times, last 8 months ago
  2. davidvanlaatum 2 times, last 2 months ago
  3. r1chjames 1 times, last 6 months ago
  4. Kawada 108 times, last 7 months ago
43 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.AnnotationException

    @OneToOne or @ManyToOne on com.example.jobcard.domain.JobCard.location references an unknown entity: com.example.geographics.domain.Address

    at org.hibernate.cfg.ToOneFkSecondPass.doSecondPass()
  2. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.cfg.ToOneFkSecondPass.doSecondPass(ToOneFkSecondPass.java:109)
    2. org.hibernate.cfg.Configuration.processEndOfQueue(Configuration.java:1598)
    3. org.hibernate.cfg.Configuration.processFkSecondPassInOrder(Configuration.java:1521)
    4. org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1422)
    5. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1846)
    5 frames
  3. org.hibernate.jpa
    EntityManagerFactoryBuilderImpl$4.perform
    1. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857)
    1 frame