Subject Re: [Firebird-Java] HowTo: A classic szenario - two reader and two writer
Author HGFrey@t-online.de
Fine!

Please excuse for that silly question!

By the way, can you tell me why I have to
send a commit on an isql prompt to see the
changes I have made from a java program?

Thanks,
Hans Georg

Marczisovszky Daniel schrieb:
>
> 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.
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/