I have an Oracle user set up for proxy connection from an operating system account (an Oracle user that is "defined externally"). I can successfully make a proxy connection from an OCI application that supports it so all the database server side stuff is correct. But I can't connect with the Devart.Data.Oracle OracleConnection class. I don't want connection pooling, just a proxy connection. Here's my C# code:
string connectString = "Data Source=ORCL;";
string proxyConnectString = connectString + "User Id=;Password=;Direct=False;";
connectString = connectString + "User Id=myorauser;Direct=False;";
OracleConnection dbProxyConnect = new OracleConnection(proxyConnectString);
dbProxyConnect.Open();
OracleConnection dbConnect = new OracleConnection(connectString);
dbConnect.Open(dbProxyConnect);
When the final statement is executed, Devart.Data.Oracle throws the "Cannot use with pooling." exception with this partial stack stack trace:
at Devart.Data.Oracle.OracleConnection.Open()
at Devart.Data.Oracle.OracleConnection.Open(OracleConnection proxy)