Share a Oracle connection

K

keefy

Hi,

We have a c++ routine with an embedded python interpreter.
The c++ routine calls a python script many times in a single session.
The script does a lookup on an oracle database and then performs some
additional functionality depending on the results returned by the
query.

I would like to be able to open a Oracle connection in the c++ routine
and then re-use it every time the python script is called rather than
have the python script connect every time.

So, does anybody know how to share an oracle connection from a c++
routine with an embedded python script?

Thanks

K
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,201
Messages
2,571,048
Members
47,651
Latest member
VeraPiw932

Latest Threads

Top