org.hibernate.AnnotationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • WildFly8 JPA2.1 and Enumerated values
    via Stack Overflow by drodil
    ,
  • JPA error: expecting IdClass mapping
    via Stack Overflow by Heiko Wiesner
    ,
  • JPA ManyToOne in MappedSupperClass
    via by Unknown author,
  • Unknown Id.generator in hibernate
    via Stack Overflow by Chandrahas
    ,
    • org.hibernate.AnnotationException: Referenced property not a (One|Many)ToOne: com.oriental.comet.db2.company.entity.Company.warehouseRules in mappedBy of com.oriental.comet.db2.company.entity.WarehouseRules.company:org.hibernate.AnnotationException:Referenced property not a (One|Many)ToOne: com.oriental.comet.db2.company.entity.Company.warehouseRules in mappedBy of com.oriental.comet.db2.company.entity.WarehouseRules.company at org.hibernate.cfg.OneToOneSecondPass.doSecondPass(OneToOneSecondPass.java:248) at org.hibernate.cfg.Configuration.originalSecondPassCompile(Configuration.java:1697) at org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1426) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1846) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:857)

    Users with the same issue

    nasimk
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    tjago
    4 times, last one,
    Unknown visitor1 times, last one,
    47 more bugmates