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