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
Issue Details (XML | Word | Printable)

Key: NUCCORE-1091
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Core

Add metadata check for the situation where the user specifies a class as persistable in annotations yet omits @PrimaryKey then in ORM metadata tries to set a PK field

Created: 13/Dec/13 08:16 PM   Updated: 17/Dec/13 08:19 AM   Resolved: 14/Dec/13 12:16 PM
Component/s: MetaData
Affects Version/s: None
Fix Version/s: 3.2.11

 Description  « Hide
Basic stuff like primary-key has to be set in the root metadata definition.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 14/Dec/13 12:16 PM
GitHub master adds a check for this (primary-key must be specified in annotations of JDO XML file)