dipaksavaliya / datanucleus-appengine

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

API for translating JDO-managed objects into low-level entities #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Decide that you want to bulk-store a JDO object and an Entity in the same 
API call
2. Realize that you must translate the JDO object to a low-level Entity to 
do so.

The ability to turn JDO objects into Entities (which I assume is happening 
in the implementation anyways) and bulk-store them in the same put() call 
would be very useful.

Original issue reported on code.google.com by ehb...@gmail.com on 30 Nov 2009 at 6:27

GoogleCodeExporter commented 8 years ago
Sounds reasonable to me.

Original comment by max.r...@gmail.com on 30 Nov 2009 at 5:29

GoogleCodeExporter commented 8 years ago
This would also be useful if one wanted to put a JDO object (that is not
serializable) into memcache or send it over the wire.

Original comment by thilopl...@googlemail.com on 5 Apr 2010 at 1:01

GoogleCodeExporter commented 8 years ago
FYI org.datanucleus.store.appengine.JDODatastoreBridge already exposes 
functions to turn low level Entity objects into JDO ojects.

Original comment by max.r...@gmail.com on 6 Jun 2011 at 8:22

GoogleCodeExporter commented 8 years ago
SVN trunk provides JDODatastoreBridge which has methods getEntityFromJDO(...) 
and getJDOFromEntity(...). Similarly there is JPADatastoreBridge with 
equivalent methods.

Original comment by googleco...@yahoo.co.uk on 1 Jan 2012 at 1:41