there is something really wired about orm.clear_mappers() function. here is what i did: 1. I used a mapper to add an instance to a session, i.e session.add(instance) 2. use clear_mappers() to clear all existing mapper 3. define another mapper using mapper(), including a 1:N relationship in it. 4. after all above step, the new mapping does not have the new 1:N relationship member in that mapped class.
may be I need to show the code snippet to make it clear. But this is my first time to post here. I will wait and see. ---Tony -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.