Subject Re: [Firebird-Java] HowTo: A classic szenario - two reader and two writer
Author Marczisovszky Daniel
Hi,

The second one will get a ConcurrentModificationException, like in
Oracle.

Best wishes,
Daniel

Htod> Hi,

Htod> I have an absolutely classical situation:
Htod> - two reader browse a data record
Htod> - (perhaps) both wonts to change the record
Htod> - and at least both write the record back to db.

Htod> At the time, both clients read the data record
Htod> nobody knows if they also want to change that record.

Htod> How do you solve this task correct with FB and Java?
Htod> In ORACLE I would not think about this, because
Htod> the dbms realize that the second writer has a wrong
Htod> "situation" and sends him an exception.


Htod> Regards
Htod> Hans Georg

Htod> Yahoo! Groups SponsorADVERTISEMENT

Htod> To unsubscribe from this group, send an email to:
Htod> Firebird-Java-unsubscribe@yahoogroups.com



Htod> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.