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-88
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Unassigned
Reporter: Jonathan Lawson
Votes: 0
Watchers: 1
Operations

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

@Version field present in @MappedSuperclass not incremented on update

Created: 22/Nov/10 10:49 PM   Updated: 08/Dec/10 03:28 PM   Resolved: 23/Nov/10 11:09 AM
Component/s: API
Affects Version/s: None
Fix Version/s: None

File Attachments: 1. Zip Archive Bug Report Repackaged.zip (3 kB)
2. Zip Archive BugReport.zip (2 kB)

Environment: Google appengine Eclipse plugin 1.3.8 SDK under windows XP


 Description  « Hide
A field with an @Version annotation placed in a superclass annotated with @MappedSuperclass seems not to be updated on commit. The VERSION field looks like it is created but the version variable stays set at 0. If the code is untouched except that the field with the @Version annotation is moved into the @Entity subclass then it works as expected.

Sort Order: Ascending order - Click to sort in descending order
Jonathan Lawson made changes - 22/Nov/10 11:58 PM
Field Original Value New Value
Attachment BugReport.zip [ 11313 ]
Jonathan Lawson made changes - 23/Nov/10 10:36 AM
Attachment Bug Report Repackaged.zip [ 11314 ]
Andy Jefferson made changes - 23/Nov/10 11:09 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Cannot Reproduce [ 5 ]
Andy Jefferson made changes - 08/Dec/10 03:28 PM
Status Resolved [ 5 ] Closed [ 6 ]