Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-2416

When the HibernateValueEncoder is unable to convert a primary key into an entity, it should log an error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.11
    • 5.0.12
    • tapestry-hibernate
    • None

    Description

      We had an issue where we forgot a @CommitAfter annotation and so our tables weren't updated.

      Because the HVE will silently convert unknown ids into nulls, it was that much harder to track down what went wrong.

      Having the HVE log a warning (or perhaps even an error) using the entity class as the Logger name would be most helpful.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: