Hi Mike, Thanks a lot. It works fine (with or without default=0). The problem was in my TG application, which was not preserving "version" while populating the edit form. I made version as a hidden field in the form, and it works fine now.
Sanjay --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---