开发者

Check validity of an OracleDependency

开发者 https://www.devze.com 2023-03-18 07:22 出处:网络
I am continuously running a service (coded in c#) on a Windows server, and I am using the OracleDependency object (provided by ODP.NET) to monitor changes affecting s开发者_如何学Pythonome tables in a

I am continuously running a service (coded in c#) on a Windows server, and I am using the OracleDependency object (provided by ODP.NET) to monitor changes affecting s开发者_如何学Pythonome tables in an Oracle (11g) database.

I'm using the OracleDependency as a permanent listener (infinite timeout), and so far I did not experience any problem. I am wondering, however, which is the best way to check that my OracleDependency listener is still valid?


Make a change to the table and see if the event fires.

0

精彩评论

暂无评论...
验证码 换一张
取 消