OMG, you did mean FB generator, not Python! You need to be more specific. (-:

Sorry about that, my feeling was all SQL engines are using ID generators to store in it.
  You need to run your own SQL queries. Something like this:

self.query("DROP GENERATOR GEN_%s" % soClass.sqlmeta.table)
self.query("CREATE GENERATOR GEN_%s" % soClass.sqlmeta.table)

  And there is perhaps SQL commands to reset the generator. I know nothing about FB so I cannot help. Look it up in the FB docs.

This is not a problem, I was just wondering if I am not overlooking something more Pythonic.

Thanks for your comments anyway.


Petr Jakes