Background:
We have an application using OC(C)I via Oracle 11 Instant Client, and we need to set DIAG_SIGHANDLER_ENABLED=FALSE
to disable OCI overwriting our own crash handling.
However, this is a sqlnet.ora
parameter, and we rely on the customer provided options in sqlnet.ora (and all other TNS_ADMIN
stuff) when running the app, so we cannot and do not want to change the sqlnet.ora file at the TNS_ADMIN
location, nor do we want to change our app to use a different, custom TNS_ADMIN
.
Question:
Is there any way to set sqlnet related(?) options that normally go into sqlnet.ora
either programmatically through some OCI interface, or maybe via an environment variable?
There are workarounds of course, we also could just copy everything from an existing TNS_ADMIN, but this question is specifically whether we can set any sqlnet.ora
options without touching sqlnet.ora
.