Thanks!
Unless I'm misreading the documentation for SEQUENCE, that breaks the
contract of the JDP annotation API, doesn't it?
Is there a way to annotate a field as a true sequence, or do I need to
create my own sequence and assign the value myself?
On Dec 21, 9:29 am, "Max Ross (Google)"
wrote:
Hmm, I thought I'd read that in the DataNucleus documentation, but I
can't find any clear definition of it. I must have just assumed
sequences were sequential.
Borrowing from your example here (http://code.google.com/p/datanucleus-
appengine/source/browse/trunk/tests/org/datanucleus/test/
Sequenc
Where are you reading the definition of the contract?
On Mon, Dec 21, 2009 at 2:41 PM, Philip Tucker wrote:
> Thanks!
>
> Unless I'm misreading the documentation for SEQUENCE, that breaks the
> contract of the JDP annotation API, doesn't it?
>
> Is there a way to annotate a field as a true seque
Unfortunately there's nothing you can do right now to get JDO to give you a
monotonically increasing sequence. The App Engine's JDO implementation is
based on the features of the datastore, and since the datastore does not
support monotonically increasing sequences the JDO implementation does not