cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Active gate oracle connection

michal_lewicz
Newcomer

Hello,

I am trying to make plugin on active gate, with need to make database call to monitor some internal data.

Unfortunately I don't know how to handle connection to database from active gate plugin.

I tried by using cx_Oracle:

import cx_Oracle

class DemoPluginRemote(RemoteBasePlugin):

def query(self, **kwargs):

login='system'

password='password'

host='localhost:1521/XE'

db = cx_Oracle.connect(login,password,host)

but it doesn't work (no module cx_Oracle found)

also tried using JDBC by jaydebeapi, but many more problems occur.

Does any one know the way to connect to oracle database from active gate plugin?

Best Regards

Michał


0 REPLIES 0