Yes. Stick the int var in your class with @Persistent. @Persistent
private int myInt; http://code.google.com/appengine/docs/java/datastore/entities.html#Properties_and_Value_Types Casting from long to int should not throw anything I'm aware of. It might truncate a number into int. long test = 1234; int myInt; myInt = (int) test; should not throw. Brandon Donnelson http://gwt-examples.googlecode.com -- 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-java@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.