- changed status to resolved
Make session.merge respect entity_name
Issue #540
resolved
As discussed on IRC, this patch makes session.merge respect entity_name.
Comments (2)
-
repo owner -
repo owner continuing on
#543 - Log in to comment
OK, not exactly, the correct patch is in changeset:2505. this propigates entity_name for transient instances only, meaning if the given object is already session.save()d, it will use the entity_name thats already on the instance.
so to save a new instance to two mappers, dont use session.save() at all. use: