https://pastein.ru/t/t3v

  скопируйте уникальную ссылку для отправки


Hibernate: insert into currency (currency_code, default_fraction_digits, name, numeric_code) values (?, ?, ?, ?)
{"@timestamp":"2021-11-07T09:12:39.972Z", "log.level": "WARN", "message":"SQL Error: 0, SQLState: 23502", "ecs.version": "1.2.0","service.name":"ump-currencymanager-ms","event.dataset":"ump-currencymanager-ms.log","process.thread.name":"http-nio-8100-exec-9","log.logger":"org.hibernate.engine.jdbc.spi.SqlExceptionHelper","traceId":"cbe60099738f079d","spanId":"2f5e8d6c068a4ae1"}
{"@timestamp":"2021-11-07T09:12:39.972Z", "log.level":"ERROR", "message":"ERROR: null value in column \"id\" of relation \"currency\" violates not-null constraint\n  Detail: Failing row contains (null, Auan, AAA, 381, 2).", "ecs.version": "1.2.0","service.name":"ump-currencymanager-ms","event.dataset":"ump-currencymanager-ms.log","process.thread.name":"http-nio-8100-exec-9","log.logger":"org.hibernate.engine.jdbc.spi.SqlExceptionHelper","traceId":"cbe60099738f079d","spanId":"2f5e8d6c068a4ae1"}
{"@timestamp":"2021-11-07T09:12:39.972Z", "log.level": "INFO", "message":"Validation restApiValidatorName: constraintsRestApiValidator; exception: could not execute statement; SQL [n/a]; constraint [id\" of relation \"currency]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement", "ecs.version": "1.2.0","service.name":"ump-currencymanager-ms","event.dataset":"ump-currencymanager-ms.log","process.thread.name":"http-nio-8100-exec-9","log.logger":"com.asvoip.ump.restapiserver.annotation.impl.AbstractRestApiValidationAspect","traceId":"cbe60099738f079d","spanId":"2f5e8d6c068a4ae1"}