You need to check out the source code (or even just copy and past the
classes) into your own project - no downloads or jars (as stated on
the project homepage)
http://code.google.com/p/remote-datastore/source/checkout
To insert data locally just call:
RemoteDatastore.install("myAppId", "war/");
from a static initializer (or some other place guaranteed to only run
once) and then you can use the datastore APIs from any Java code e.g.
from a main(String[]) method.
There is example code on the homepage using the low-level datastore
API to insert data. I have used Twig to insert data too and JDO
should work. If you need to read data from a CSV file you will need
to parse the file and create Entities from it - there is an Apache CSV
file reader you can use for that.
On 2 Aug 2010, at 03:33, emmanuel harel wrote:
John,
could you give more information about how to use your library please ?
I am not sure it is obvious for anyone. What are the dependencies of
your project : the jar used.
Thanks a lot
2010/8/1 John Patterson <[email protected]>
Hi Jan, I have used the Java RemoteDatastore to upload and download
data in bulk.
It allows you to use the low-level API, JDO, Twig, Objectify or
whatever to store your data remotely or locally.
http://code.google.com/p/remote-datastore/
On 1 Aug 2010, at 19:49, Jan wrote:
Hi,
I still did not find any solution to use the bulk uploader (now
version 1.3.5) locally with GAE/Java. Communication with the
production server works fine.
As I cannot find any information about this issue, I assume that
nobody else faces this problem. Can someone please post the steps
necessary to make the Python bulk loader tool work locally with a Java
app?
Are there any alternatives available for the Python bulk uploader?
Thank you,
Jan.
--
You received this message because you are subscribed to the Google
Groups "Google App Engine for Java" group.
To post to this group, send email to [email protected]
.
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en
.
--
You received this message because you are subscribed to the Google
Groups "Google App Engine for Java" group.
To post to this group, send email to [email protected]
.
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en
.
--
You received this message because you are subscribed to the Google
Groups "Google App Engine for Java" group.
To post to this group, send email to [email protected]
.
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en
.
--
You received this message because you are subscribed to the Google Groups "Google
App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.