On Wed, Sep 16, 2009 at 04:07:12PM +0200, Petr Jake?? wrote:
> Working on the Firebird, I just wonder if exists some way how to push
> SQLObjects to configure kinterbasdb.
>
> I mean: I was able to use following snippet when I was working with the
> database directly (using kinterbasdb).
>
> import kinterbasdb
> kinterbasdb.init(type_conv=200)
>
> Is this possible using SQLObjects?
You can use this in your program - this is module-level initialization;
when SQLObject does "import kinterbasdb" it gets already initialized
module. Or you can access connection.module after the connection has been
initialized if it's not too late.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|