Hello Max,
I am planning to use IdGeneratorStrategy.INCREMENT feature to assign
sequential ids for entities I am creating.  for example, Employee.

-Aswath

On Wed, Feb 10, 2010 at 5:49 AM, Max Ross (Google) <
maxr+appeng...@google.com <maxr%2bappeng...@google.com>> wrote:

> JDO Sequences work, we just haven't publicized them.  The DataNucleus docs
> should tell you everything you need to know:
> http://www.datanucleus.org/products/accessplatform/jdo/sequences.html
>
> IdGeneratorStrategy.INCREMENT is not yet implemented.  What are you looking
> to use it for?
>
> Max
>
>
> On Mon, Feb 8, 2010 at 3:20 AM, Vincent TELLIER <tellier.vinc...@gmail.com
> > wrote:
>
>> I tried the incrementation, but I got an error saying that it was not
>> implemented in the appengine datastore.
>>
>>
>> TELLIER Vincent
>> + Email : cont...@tellier-vincent.eu
>> + Contact messenger (msn) : abs...@esugenus.fr
>>
>>
>> 2010/2/8 aswath satrasala <aswath.satras...@gmail.com>
>>
>> See if the following annotation help you.
>>> @Persistent(valueStrategy = IdGeneratorStrategy.INCREMENT)
>>>
>>> -Aswath
>>>
>>>
>>> On Mon, Feb 8, 2010 at 1:18 AM, datanucleus <andy_jeffer...@yahoo.com>wrote:
>>>
>>>> What getNextID feature on JDO ? i.e please make reference to the JDO
>>>> API and which particular API Method you're referring to
>>>>
>>>> --
>>>> 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
>>>> google-appengine-j...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>>>> .
>>>> 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
>>> google-appengine-j...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>>> .
>>> 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
>> google-appengine-j...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
>> .
>> 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
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com>
> .
> 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 google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to