SQLState of BatchUpdateException
SQLState of BatchUpdateException
Hi, Unlike PSQLException, BatchUpdateException always doesn't haveSQLState. This might cause unexpected behavior, e.g. fireConnectionError() would misunderstand that the exception is fatal even if it's a mere transaction error. Here is the patch to add SQLState into BatchUpdateException. Thought? Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
Re: SQLState of BatchUpdateException
От:
Kris Jurka <books@ejurka.com>
Дата:
On Tue, 26 May 2009, Fujii Masao wrote: > Unlike PSQLException, BatchUpdateException always doesn't haveSQLState. > This might cause unexpected behavior, e.g. fireConnectionError() would > misunderstand that the exception is fatal even if it's a mere > transaction error. > > Here is the patch to add SQLState into BatchUpdateException. > Applied back to 8.0. Thanks. Kris Jurka