As the title says, I want to forcefully change the ID of a Kind in the datastore is this possible? The kind uses the following for generating the ID automatically:
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
@Extension(vendorName="datanucleus", key="gae.encoded-pk", value="true")
private String id;
The reason for this? I accidentally removed some items that I wanna restore, I have their IDs and all their properties, but would like, if possible for the ID to also be the same.
I tried just creating new entities and setting the ID:s but it's not possible it seems. I get no error, but the entity won't be saved.
Thank you!