Subject | Re: [firebird-support] Re: INSERT or Update and conflict |
---|---|
Author | Milan Babuskov |
Post date | 2009-01-21T17:59:17Z |
svanderclock wrote:
--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com
> yes, i was thinking to do like you say, handle the error in thePrimary key violation error is quite normal event and there is no harm done.
> client interface... but is not a problem for firebird to receive too
> lot of error like this (duplicate reccord or lock conflict?)
> in case of error, is it better for the stability of firebird toI believe it is better to commit, but someone might correct me on that one.
> commit the transaction or rollback it (nothing was inserted or
> updated cause of the error)
--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com