First I try to create a table like this: user_table = Table('user', metadata, Column('id', Integer), Column('name', Unicode) )
then I discards the table in metadata and reload it by reflection with overriding: user_table = Table('user', metadata, Column('id', Integer, primary_key=True), Column('name', Unicode), autoload=True ) create a mapper,a session and insert a row with values(None,'jack'),retrieve this row by: "user_table.user_table.select().execute()" all code is done successfully at this time. next I try get the row by a session: "s.query(User).all()" but I get nothing. so this is the point,is there something wrong? -- 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 sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.