Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1721)

Issue 4698046: Support use of Version with inheritance (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by datanucleus
Modified:
12 years, 9 months ago
Reviewers:
maxr
Base URL:
http://datanucleus-appengine.googlecode.com/svn/trunk/trunk/
Visibility:
Public.

Description

If you have a base class and subclass and the base has the version, and you persist a subclass, it doesn't get versioned currently. This is due to which metadata method is being called. This patch fixes it and adds a test. See also http://code.google.com/p/datanucleus-appengine/issues/detail?id=220&colspec=ID%20Stars%20Type%20Status%20Priority%20FoundIn%20TargetRelease%20Owner%20Summary

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -4 lines) Patch
src/com/google/appengine/datanucleus/DatastorePersistenceHandler.java View 4 chunks +7 lines, -4 lines 0 comments Download
tests/com/google/appengine/datanucleus/jpa/JPAVersionTest.java View 2 chunks +17 lines, -0 lines 0 comments Download
tests/com/google/appengine/datanucleus/test/BaseVersion.java View 1 chunk +23 lines, -0 lines 0 comments Download
tests/com/google/appengine/datanucleus/test/BaseVersionSubclass.java View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 2
datanucleus
12 years, 9 months ago (2011-07-13 17:10:48 UTC) #1
maxr
12 years, 9 months ago (2011-07-15 03:50:04 UTC) #2
On 2011/07/13 17:10:48, datanucleus wrote:

LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b