DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to.
DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued

Add metadata check for the situation where the user has primary-key fields in superclass and defines another in a subclass

When the user defines
public class RootClass
{
@PrimaryKey
long id;
}
public class SubClass extends RootClass
{
@PrimaryKey
long id;
}
it results in an error but in some obscure place down in schema mapping; we should detect this when loading the metadata

Description

When the user defines
public class RootClass
{
@PrimaryKey
long id;
}
public class SubClass extends RootClass
{
@PrimaryKey
long id;
}
it results in an error but in some obscure place down in schema mapping; we should detect this when loading the metadata