public InformixExceptionMapperImpl() {
   super(
       ErrorCodesMappingImpl.builder()
           .withEntry(BadSqlGrammarException.class, "201", "-217", "-696")
           .withEntry(DuplicateKeyException.class, "239", "-268", "-6017")
           .withEntry(DataIntegrityViolationException.class, "-692", "-11030")
           .withEntry(DataAccessResourceFailureException.class, "04501", "08004", "42Y07")
           .withEntry(CannotAcquireLockException.class, "40XL1")
           .withEntry(DeadlockLoserDataAccessException.class, "40001")
           .build());
 }
 public DB2ExceptionMapperImpl() {
   super(
       ErrorCodesMappingImpl.builder()
           .withEntry(
               BadSqlGrammarException.class,
               "-007",
               "-029",
               "-097",
               "-104",
               "-109",
               "-115",
               "-128",
               "-199",
               "-204",
               "-206",
               "-301",
               "-408",
               "-441",
               "-491")
           .withEntry(DuplicateKeyException.class, "803")
           .withEntry(
               DataIntegrityViolationException.class,
               "407",
               "-530",
               "-531",
               "-532",
               "-543",
               "-544",
               "-545",
               "-603",
               "-667")
           .withEntry(DataAccessResourceFailureException.class, "904", "-971")
           .withEntry(
               TransientDataAccessResourceException.class, "-1035", "-1218", "-30080", "-30081")
           .withEntry(DeadlockLoserDataAccessException.class, "-911", "-913")
           .build());
 }