--On Sonntag, August 03, 2008 22:00:49 +0000 Tim Landscheidt
<tim(at)tim-landscheidt(dot)de> wrote:
> Aufgrund einer Abneigung gegen Exceptions schreibe ich so
> etwas meist in der Form:
>
>| UPDATE Table SET Something = 'something' WHERE ID = 'id';
>| IF NOT FOUND THEN
>| INSERT INTO Table (ID, Something) VALUES ('id', 'something');
>| END IF;
...was aber bei Nebenläufigkeit ohne explizites Locking zu Race Conditions
führt. Was ist das Problem an Exceptions?
--
Thanks
Bernd