OracleCommand execution blocks if has OracleDependency
问题 I have the following code: OracleConnection conn = new OracleConnection(connString); OracleCommand command = new OracleCommand("select * from testtable", conn); conn.Open(); OracleDependency.Port = 2010; OracleDependency dependency = new OracleDependency(command); command.AddRowid = true; command.Notification.IsNotifiedOnce = false; dependency.OnChange += new OnChangeEventHandler(dependency_OnChange); command.CommandTimeout = 1000; DataTable t = new DataTable(); OracleDataAdapter adapter =