In our applications we typically use a non-direct method of connecting, and the MACHINE column of V$SESSION is correctly populated with the domain and terminal, as below:
Code: Select all
var oracleConnection1 = new OracleConnection();
oracleConnection1.Direct = false;
oracleConnection1.Server = "DEV";
oracleConnection1.UserId = "MYSCHEMA";
oracleConnection1.Password = "xxx";However when I use Direct Mode the MACHINE column just has the terminal name:MACHINE = 'MYDOMAIN\MYLAPTOP'
Code: Select all
oracleConnection2.Direct = true;
oracleConnection2.Server = "Server01";
oracleConnection2.Port = 1521;
oracleConnection2.Sid = "DEV";
oracleConnection2.UserId = "MYSCHEMA";
oracleConnection2.Password = "xxx";
oracleConnection2.Open();Additionally, I also noticed that the process was 00000:00000.MACHINE = 'MYLAPTOP'
We are unable to use the non-direct mode in this particular case, but we rely on the values in the MACHINE column for other processes.
Does anyone know any workarounds or fixes? We're running C# against Devart.Data.Oracle.dll v 8.5.602.0.
Thanks,
Jonathan