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-160
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

Call to ObjectIdentity(Class,Object) constructor is actually calling ObjectIdentity(Class,String)

Created: 20/Jan/12 04:00 PM   Updated: 06/Feb/12 10:14 AM   Resolved: 20/Jan/12 04:03 PM
Component/s: None
Affects Version/s: 3.0.5
Fix Version/s: 3.0.6

 Description  « Hide
In JPAAdapter.getNewApplicationIdentityObjectId we are calling
IdClass.constructor.newInstance([Class, String],...)
but this doesn't exist for ObjectIdentity. Needs to have Object as the second ctr argument

Andy Jefferson added a comment - 20/Jan/12 04:03 PM
SVN trunk fixes this

Andy Jefferson made changes - 20/Jan/12 04:03 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 3.0.6 [ 11430 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 06/Feb/12 10:14 AM
Status Resolved [ 5 ] Closed [ 6 ]