|
I want make following:
1) get an object from database
2) set a field in this object to the IP of
station
3) update the object, but only IP still null (if
another station reserves the record, it should not be updated)
4) get the object again, and check if the change
proceeded
Is there any way? Or I should take an connection
and do it my self? I know if I'm using and java.sql.Statement.executeUpdate, I
can know if the update proceed if it returns "more than one record
changed".
Thanks,
Edson Richter
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.574 / Virus Database: 364 - Release Date: 29/1/2004 |
smime.p7s
Description: S/MIME cryptographic signature
