org.hibernate.AnnotationException

Collection of elements must not have mappedBy or association reference an unmapped entity: com.wotif.jaguar.domain.booking.Booking.bookingInvoices

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web337

  • via Hibernate JIRA by Robert Watkins, 1 year ago
    Collection of elements must not have mappedBy or association reference an unmapped entity: com.wotif.jaguar.domain.booking.Booking.bookingInvoices
  • via Hibernate JIRA by Robert Watkins, 1 year ago
    Collection of elements must not have mappedBy or association reference an unmapped entity: com.wotif.jaguar.domain.booking.Booking.bookingInvoices
  • mappedBy reference an unknown target entity property: org.forum.app.domain.Villeclt.pere in org.forum.app.domain.Pere.onetomanys
  • Stack trace

    • org.hibernate.AnnotationException: Collection of elements must not have mappedBy or association reference an unmapped entity: com.wotif.jaguar.domain.booking.Booking.bookingInvoices at org.hibernate.cfg.annotations.CollectionBinder.bindManyToManySecondPass(CollectionBinder.java:703) at org.hibernate.cfg.annotations.CollectionBinder.bindStarToManySecondPass(CollectionBinder.java:421) at org.hibernate.cfg.annotations.CollectionBinder$1.secondPass(CollectionBinder.java:382) at org.hibernate.cfg.CollectionSecondPass.doSecondPass(CollectionSecondPass.java:35) at org.hibernate.cfg.annotations.CollectionBinder.bind(CollectionBinder.java:331) at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1296) at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:629) at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:276) at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:210) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1156) at com.wotif.jaguar.util.HibernateTestUtil.buildSesssionFactory(HibernateTestUtil.java:131)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 month ago
    3 times, 5 months ago
    Unknown user
    Once, 8 months ago
    Unknown user
    2 times, 8 months ago
    2 times, 9 months ago
    47 more bugmates