数据库表与应用程序之间的通信 [英] Communication between Database table and Application

查看:120
本文介绍了数据库表与应用程序之间的通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,我需要检查一个sql表字段以便进一步处理。

目前我在一个while循环中连续轮询数据库,延迟3秒检查,如果字段是设置与否??



是否有其他替代解决方案,而不是通过连续轮询使数据库忙碌。



我正在寻找异步通知或消息,当设置或修改特定字段时,它将被发送到我们的应用程序。

In my application, i need to check an sql table field for further processing.
Currently am continuously polling the database in a while loop with a delay of 3 sec to check, if the field is set or not??

Is there any other alternative solution, rather than making the database busy by continuous polling.

Am looking for a asynchronous notification or message, which will be sent to our application when ever the particular field is set or modified.

推荐答案

看一看在这个 [ ^ ]文章。应该是一个好的开始。
Take a look at this[^] article. Should be a good start.


这篇关于数据库表与应用程序之间的通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆