Thanks as always for the quick response and fix.
As a slight aside; I am using a MapperExtension to create an attribute on an object. When the object is stored, reloaded and then merged back into a session this attribute is no longer available. Any thoughts on why this might be? ta Martin Pseudo code: ========== class EntityMapperExtension(MapperExtension): def populate_instance(self, mapper, selectcontext, row, instance, **flags): if not hasattr(instance, 'property'): instance.property = PropertyDict(instance) return EXT_CONTINUE obj = Entity() obj.property['group'] > [prop1, prop2] store[id] = obj Session.remove() ... session = Session() obj = session.merge(store[id]) obj.property['group'] > AttributeError: 'Entity' object has no attribute 'property' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---