Community
Participate
Working Groups
Build Identifier: I20110525-0800 1. Create an entity Foo 2. Create another entity Foo1 making it extend Foo and check the discriminator value of entity Foo1 and then Foo in JPA Details -> Inheritance 3. Create the third entity Foo2 also making it extend Foo and check the discriminator value of entity Foo2, and then previous created entities in JPA Details -> Inheritance First checking the discriminator value of the latest created entity is to repopulate the values of JPA Details. You'll see the default discriminator values of all the entities are changed to that of the last created entity. In other words, after step 3, the discriminator values of Foo, Foo1 and Foo2 all default to "Default(Foo2)". At this point, if you change the default discriminator values of Foo to "Default(Foo)" by selecting it from the drop down list, switch the focus area and then go back to JPA Details, all the values will be changed to "Default(Foo)". Reproducible: Always
Created attachment 197531 [details] proposed patch against head I have a attached a potential fix for this bug. I feel like this is a bit of hackery and am not sure it is worth the risk to fix this bug in maintenance.
Agreed, re-targeting for 3.1.
Moving JPA specific bugs to new JPA component in bugzilla.
Setting this to M2, not sure about the fix yet, need to discuss it some more.
Fixed this bug in 3.2M7, did not use the attached patch
Verified in Build I-3.4.0-20120412024306 Verified Descriptor Values are correct when you create entities and also when you change them the others still remain the same. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.2_M7