Open Peksa opened 11 years ago
You need to update ids table The old version is using only the class names. The new version is using models.classname
thanks a lot!
On Mon, Nov 19, 2012 at 8:49 PM, martijne notifications@github.com wrote:
You need to update ids table The old version is using only the class names. The new version is using models.classname
— Reply to this email directly or view it on GitHubhttps://github.com/greenlaw110/play-morphia/issues/101#issuecomment-10507837.
It seems that the Long _id generation sequences are reset when upgrading to 1.2.11 or higher. (They restart on 1 and continue generating numbers upwards, even though documents with those _id's already exist).
This causes silent overwrites of existing documents with those _id's when trying to add new documents.