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-76
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Fernando Padilla
Votes: 0
Watchers: 1

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

EntityManageImpl.getReference should not validate findObject

Created: 23/Jul/10 05:05 AM   Updated: 13/Aug/12 03:16 PM   Resolved: 21/Sep/10 12:22 PM
Component/s: API
Affects Version/s: 1.1.5, 2.0.0.release, 2.1.0.release
Fix Version/s: 2.1.2

 Description  « Hide
I was looking over the current code, and it looks like getReference is calling the findObject method with validate flags set to true, even though getReference's javadoc explicitly states that it does an un-validated get...

very minor bug/enhancement. :)


return om.findObject(id, true, true, null);


return om.findObject(id, false, false, null);

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 21/Sep/10 12:22 PM
SVN trunk now doesn't validate