Skip to content

IncrementalIDGeneration object_already_persistent exception #20

Description

@niniemann

We've faced some odb::object_already_persistent-exceptions when using the IncrementalIDGeneration. The fix was to load all entities before adding/manipulating anything else. My best guess is that the IncrementalIDGeneration creates IDs that are already taken by objects that were not loaded, though the generation should have everything it needs stored in PrefixAssignedIDs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions