Community
Participate
Working Groups
<entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" version="1.0"> <mapped-superclass class="model.Model"> </mapped-superclass> <entity class="model.Employee"> </entity> </entity-mappings> Open this orm.xml file with the JPA Structure view. Delete the mapped-superclass directly from the xml source. The jpa structure view now displays one entity named "model.Model" instead of "model.Employee". I could not reproduce the same problem with 2 entities.
Created attachment 104386 [details] proposed patch - HEAD 221931 was basically the same bug, but for attribute mappings, should have fixed this then. Fix is the same, just for type mappings.
checked in to HEAD, haven't branched for 2.0.1 yet