Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-3489

Improve the error message when the inverse side of an association cannot be found by Hibernate Search

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0.Alpha2
    • Fix Version/s: 6.0.0.Alpha3
    • Component/s: mapper-orm, mapper-pojo
    • Labels:
      None

      Description

      Users are very likely to get this error, so we should make sure it's clear and guides the user to a solution.

      We should make the message clearer and mention the various solutions:

      1. Define the non-owning side of the association in the target entity (when using Hibernate ORM)
      2. OR define the inverse side of the association using @AssociationInverseSide
      3. OR (expert feature) disable automatic reindexing when the target entity changes using @IndexingDependency(reindexOnUpdate = ReindexOnUpdate.NO)

        Attachments

          Activity

            People

            • Assignee:
              yrodiere Yoann Rodière
              Reporter:
              yrodiere Yoann Rodière
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: