You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When enhancing with JPA and the entity has a compound PK and uses properties, the enhanced class has an incorrect dnNewObjectIdInstance method. It currently is generated as
public final Object dnNewObjectIdInstance(Object key)
{
return new CompoundPK2((String) key);
}
but the compound pk has no String constructor since it's not a JPA requirement
The text was updated successfully, but these errors were encountered:
andyjefferson
changed the title
JPA : jdoNewObjectIdInstance() with compound PK when using persistent properties is generated incorrect
Enhancement Contract : dnNewObjectIdInstance() with compound PK when using persistent properties is generated incorrect for JPA
Sep 15, 2017
andyjefferson
changed the title
Enhancement Contract : dnNewObjectIdInstance() with compound PK when using persistent properties is generated incorrect for JPA
Enhancement contract : dnNewObjectIdInstance() with compound PK when using persistent properties is generated incorrect for JPA
Sep 15, 2017
When enhancing with JPA and the entity has a compound PK and uses properties, the enhanced class has an incorrect dnNewObjectIdInstance method. It currently is generated as
public final Object dnNewObjectIdInstance(Object key)
{
return new CompoundPK2((String) key);
}
but the compound pk has no String constructor since it's not a JPA requirement
The text was updated successfully, but these errors were encountered: