> 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.
Regards
Petr Jakes
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss