On Mon, Apr 19, 2010 at 01:27:25PM +0200, Petr Jake?? wrote:
> As I am on the Firebird, I can see only dropTable, createTable methods in
> the:
> 
> http://www.sqlobject.org/sqlobject/firebird/firebirdconnection.py.html
> 
> There is not particular method to create new generator.

   OMG, you did mean FB generator, not Python! You need to be more
specific. (-:
   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.

Oleg.
-- 
     Oleg Broytman            http://phd.pp.ru/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
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

Reply via email to