banaouas pisze:
> In external method, it's not possible to use the database connexion
created
> in the zmi.
Why? It is possible. I think if you take a look into zope-db archives
you'll even find some examples, eg:
http://www.nabble.com/Re:-RE-:-How-lunch-SQL-request-from-python-script---t3039
In external method, it's not possible to use the database connexion created
in the zmi.
This connexion maintain a pool of connexions to database, thus reducing the
query execution time.
I wonder if from inside a new product it's possible to access to an already
existing database connexion ?
Die
banaouas wrote at 2007-11-16 07:15 -0800:
>I know there is many restrictions when writing python scripts.
Only "Script (Python)" and derived classes are restricted.
Python in normal Python modules/packages or "External Method"s are
not restricted.
>But is it possible to access to oracle (import