jplams / datanucleus-appengine

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

persistence with cache fails #287

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?
1.using DN cache
2.persist entity
3.simple test is attached.

What is the expected output? What do you see instead?
entity should persist.

instead an exception is throw
when using the javax.cache the entities fails to persist.
with exception java.lang.IllegalArgumentException: Cannot use as a key: 
'org.datanucleus.identity.IdentityReference@5d2aea3e'

What version of the product are you using? On what operating system?
appengine 1.6.6
windows 7.

Please provide any additional information below.
a simple test case is attached.

Original issue reported on code.google.com by lu...@asteriski.com on 15 Jun 2012 at 9:05

Attachments:

GoogleCodeExporter commented 8 years ago
Not reproduceable here, but then I don't understand why you're using an old 
version of datanucleus-core (3.0.1) - the current is 3.0.11. Suggest you try 
that and report back

Original comment by googleco...@yahoo.co.uk on 16 Jun 2012 at 6:48

GoogleCodeExporter commented 8 years ago
upgraded to datanucleus-core-3.0.11 and datanucleus-cache-3.0.4 and the 
persistence is now working without error.

fixed.

Original comment by lu...@asteriski.com on 18 Jun 2012 at 2:16

GoogleCodeExporter commented 8 years ago

Original comment by googleco...@yahoo.co.uk on 18 Jun 2012 at 4:16