Oracle Database change notification

时光怂恿深爱的人放手 提交于 2021-02-04 21:54:26

问题


I am new to DCN, can I use it to detect updates on a column in my table along with inserts in that table ? I am referring to this


回答1:


Yes, you can - Change Notifications made for that. You need to register СN listener with query to watch (it can a whole table select * from your_table or part of it select column1 from your_table where column2='xxx') and callback function . You should understand that it is async mechanism changes will not detect immediately, but after some time. Your documentation's link shows way how to implement it using JDBC. Read it if you want to use Oracle PL/SQL for that.



来源:https://stackoverflow.com/questions/41725877/oracle-database-change-notification

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!