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: NUCJPA-214
Type: Task Task
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 API JPA

If user has a persistable field and forgets to put @OneToOne (or XML equiv), set DFG to "true"

Created: 04/Feb/13 09:08 AM   Updated: 15/Feb/13 03:21 PM   Resolved: 04/Feb/13 10:32 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2.0.m4

 Description  « Hide
JPA doesn't have optional specification of field types, i.e you have to specify the @OneToOne, @OneToMany etc. If they omit it then some logic would be needed to work out what it should be

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 04/Feb/13 10:32 AM
SVN trunk now introduces code into TypeManager that sets the DFG for any persistable field that hasn't had its required metadata provided (in JPA it defaults to being in the DFG, whereas in JDO it isn't).