MountainClimb / datanucleus-appengine

Automatically exported from code.google.com/p/datanucleus-appengine
0 stars 0 forks source link

JPA @Version annotation doesn't work on Super class #220

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Create a base class (@MappedSuperclass) and derived class
2.on the base-class put version field and @Version annotation
3.create instance of the entity and update it

What is the expected output? What do you see instead?
the version field should increment, yet it stays on 0

What version of the product are you using? On what operating system?
 1.3.5, with eclipse 3.5 on widows vista

Please provide any additional information below.

not checked on JDO

Original issue reported on code.google.com by asafcar...@gmail.com on 18 Aug 2010 at 10:01

GoogleCodeExporter commented 8 years ago

Original comment by googleco...@yahoo.co.uk on 13 Jul 2011 at 5:11

GoogleCodeExporter commented 8 years ago
SVN trunk fixes that

Original comment by googleco...@yahoo.co.uk on 15 Jul 2011 at 5:40