Detect Informix error codes as DuplicateKeyException#35400
Conversation
a7add32 to
5df704c
Compare
Signed-off-by: Lukáš Kvídera <kvideral@qwsome.eu>
5df704c to
1df688a
Compare
DuplicateKeyException
|
Hi @sgflt, Congratulations on submitting your first PR for the Spring Framework! 👍 This is indeed related to #29950, especially this comment (#29950 (comment)). In The first two are still documented as error codes for Informix 15. Thus, if we were to make this change, I believe we should do it for In addition, we would want to do this not only for We will discuss within the team whether we wish to make these changes to Note, however, that we would only implement this change for For
|
|
We have decided to proceed with this. @sgflt, please update this PR as outlined below. Thanks
|
…ctoryUtils Signed-off-by: Lukáš Kvídera <kvideral@qwsome.eu>
Signed-off-by: Lukáš Kvídera <kvideral@qwsome.eu>
Signed-off-by: Lukáš Kvídera <kvideral@qwsome.eu>
Signed-off-by: Lukáš Kvídera <kvideral@qwsome.eu>
808d810 to
b7757bf
Compare
Signed-off-by: Lukáš Kvídera <kvideral@qwsome.eu>
|
Fixed via db9e938 |
This fix is related to #29950 and #29699 .
After migration from Spring Boot 2 to Spring Boot 3 spring-jdbc changed behavior and now throws
DataIntegrityViolationExceptioninstead ofDuplicateKeyException.