Share a Oracle connection

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • keefy

    Share a Oracle connection

    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
Working...