You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to execute a Python script. In this script, I import two modules (both using oracledb). In one of them, I create a connection to ADW using Thin mode. In the other, it creates a connection to an Oracle database 11g using Thick mode.
When I execute the main script, the module that connects to ADW says "Oracle Client library has already been initialized." I know this occurs because they are sharing an oracledb state.
I tried to create a copy of oracledb files with another name so that they use virtually different libraries, but it failed.
Notes:
For thick mode I have to execute oracledb.init_oracle_client(lib_dir="....instantclient_21_11")