You use the @Entity annotation to deconflict your kind names:
@Entity
public class Model { ... }
@Entity(name="OtherModel")
public class Model { ... }
This can be dangerous for obvious reasons. I would not recommend it.
سؤال
When an app will store two kinds of Entity:
com.mycompany.kind.Model
and
com.mycompany.otherkind.Model
How will this be stored in the Datastore collection, in the same kind "Model"? Or not?
المحلول
You use the @Entity annotation to deconflict your kind names:
@Entity
public class Model { ... }
@Entity(name="OtherModel")
public class Model { ... }
This can be dangerous for obvious reasons. I would not recommend it.