This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello, Is it possible to have some java code executed( such as sending mail) when a certain field in a database table is updated? I am using ms-sql server 7. I know that there are triggers, but these seem to be confined to running sql statements not running java code. Thanks in advance, Peter
I don't know about ms-sql server 7, but in Oracle you can call java programs from database triggers... but that doesn't really help you now does it! The only alternative that I can quickly think of, is to check the condition in your java program before you insert/update through java. If the condition is right, execute the java, if not, just insert. Jamie