It's not currently possible, no, but please file an issue if it is important
to you and also please explain why it's important (I confess I'm having a
little trouble envisioning a scenario where this would matter, so the
explanation will help).

Thanks,
Max

On Wed, Sep 9, 2009 at 2:58 AM, Tica2 <[email protected]> wrote:

>
> Max,
>
> I like to have same behavior between local and production environment
>
> It is posible ?
>
> For instance the code:
>
>                StringBuffer sb = new StringBuffer();
>                KeyRange range = ds.allocateIds("a", 2);
>                for (Key key : range) {
>                        sb.append("\n a " + key.toString());
>                }
>
>                range = ds.allocateIds("b", 2);
>                for (Key key : range) {
>                        sb.append("\n b " + key.toString());
>                }
>
>                Key parentKey = KeyFactory.createKey("c", 1);
>                sb.append("\n c " + parentKey.toString());
>
>                range = ds.allocateIds(parentKey, "d", 2);
>                for (Key key : range) {
>                        sb.append("\n d " + key.toString());
>                }
>                System.out.println(sb.toString());
>
> Local produce:
>  a a(1)
>  a a(2)
>  b b(3)
>  b b(4)
>  c c(1)
>  d c(1)/d(5)
>  d c(1)/d(6)
>
> But in production environment:
>
>  a a(1)
>  a a(2)
>  b b(1001)
>  b b(1002)
>  c c(1)
>  d c(1)/d(1)
>  d c(1)/d(2)
>
>  a a(1003)
>  a a(1004)
>  b b(3)
>  b b(4)
>  c c(1)
>  d c(1)/d(1001)
>  d c(1)/d(1002)
>
> Thanks
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to