Hello All,
I have the following JDO class.  I want to load the data initially for
entities of this class.
I am thinking the following
- I can create a seperate URL like "myapp.appspot.com/initializedata".  This
resource will create JDO objects and persist the data.
However, I want only the admin of the 'myapp' should be able to do this.
How can this be done?

-Aswath

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class GlAccountClass {
      @PrimaryKey
      @Extension(vendorName="datanucleus", key="gae.encoded-pk",
value="true")
      private String glAccountClassId;

      @Persistent
      private String description;

      @Persistent
      private String parentGlAccountClassId;
...
}

--

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