Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5651

[GSS] (7.1.0) HHH-11037 Same named subtype embeddable properties ignored

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR9
    • None
    • Hibernate
    • None

      When properties in an @Embeddable have the same name as properties in a superclass of entity types to which they are added, the properties are ignored. For example when an embeddable type contains val and it is added to Employee which is a subclass of Person which also contains a property named val, the property from the embeddable (even when properly overridden) will be ingored.

      Consequence: DDL and SQL generated by Hibernate omits the properties so they are not included in any database writes/reads.

              gbadner@redhat.com Gail Badner (Inactive)
              rhn-support-sfikes Stephen Fikes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: