Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

update notification in SQL?

Status
Not open for further replies.

RolleBolle

Programmer
Nov 10, 2004
1
SE
Hi. Anyone knows a smart way to notify a program (in this case a Java-program) that a row in SQL has been changed? I am using InnoDB table and a JDBC bridge.

Thanks in advance!
 
I'm lacking on my JDBC, but the theory should be simple enough.

1. You have a little daemon sitting out there, either part of your main program, or seperate from it that checks say once a minute for the table/field that you want to check, and then sets a bit flag.
2. The main program sees that bit flag, and in turn alerts you.

One way at least.

----------------------------
"Security is like an onion" - Unknown
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top