20 Mar 2020
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:
def query(self, **kwargs):
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?