Is there any way how to set a kind name different from a class name used in my Google App Engine?
I am using Java and JDO to access a datastore.
There a question about the similar issue in Python. It seems answered. Set a kind name independently of the model name (App Engine datastore)
Ooops... It was quite easy to achieve:
@PersistenceCapable(table = "person")
public class PersonEntity {
// ...
}
来源:https://stackoverflow.com/questions/7616158/set-an-entity-kind-name-different-from-a-class-name