|
DataNucleus supports persisting/retrieving objects to/from Amazon Simple Storage Service
(using the datanucleus-json plugin).
Support for Amazon Simple Storage Service is in its early stages and will be enhanced in future releases.
If you wish to help out in this effort either by contributing or by sponsoring particular
functionality please contact us via the DataNucleus Forum.
The following persistence properties will connect to Amazon Simple Storage Service at a URL
datanucleus.ConnectionURL=amazons3:http://s3.amazonaws.com/
datanucleus.ConnectionUserName={Access Key ID}
datanucleus.ConnectionPassword={Secret Access Key}
datanucleus.cloud.storage.bucket={bucket}
So you create your PersistenceManagerFactory or
EntityManagerFactory with these properties.
Thereafter you have the full power of the JDO or JPA APIs at your disposal, for your
Amazon Simple Storage Service datastore.
Access Platform allows you to query the objects in the datastore using the following
-
JDOQL - language based around the objects that are persisted and
using Java-type syntax
-
JPQL - language based around the objects that are persisted and
using SQL-like syntax
Below are some references using this support
|
|