Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5350

JPA translator vs de-typed entities

    XMLWordPrintable

Details

    • Quality Risk
    • Resolution: Done
    • Major
    • 11.0, 10.3.2
    • None
    • Misc. Connectors
    • None

    Description

      See here for some background: https://hibernate.atlassian.net/browse/HHH-10968

      When the JPA translator encounters a de-typed entity, such as those synthesized by Hibernate Envers, a NullPointerException is thrown. This is because the entity getJavaType() returns null, and calling getName() on that goes boom.

      The simplest solution I can think of is to wrap the Metamodel in another one which filters out any entities/managed types which return null for getJavaType(), but if something more useful could be done with these things that would be nice.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            traivor Harold Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: