Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dbapi-service |
- dbapi-service | . ____ _ __ _ _
- dbapi-service | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- dbapi-service | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- dbapi-service | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- dbapi-service | ' |____| .__|_| |_|_| |_\__, | / / / /
- dbapi-service | =========|_|==============|___/=/_/_/_/
- dbapi-service | :: Spring Boot :: (v2.1.3.RELEASE)
- dbapi-service |
- dbapi-service | 27.03 18:45:57.203 INFO [SpringApplication:679] - The following profiles are active: dev
- dbapi-service | 27.03 18:45:58.061 INFO [GenericScope:295] - BeanFactory id=33f4793b-c415-39d7-8bbd-0e7f26d61578
- dbapi-service | 27.03 18:45:58.551 INFO [HikariDataSource:110] - "DbSegmentsPool" - Starting...
- dbapi-service | 27.03 18:45:58.724 INFO [HikariDataSource:123] - "DbSegmentsPool" - Start completed.
- dbapi-service | 27.03 18:45:58.738 INFO [DatabaseConfiguration:60] - Database "segments" has the following exportable http functions:
- dbapi-service | http_get_get_client_segments
- dbapi-service | http_get_get_segment
- dbapi-service | http_get_get_segment_clients
- dbapi-service | http_get_get_status_by_task
- dbapi-service | http_post_add_client_to_segment
- dbapi-service | http_post_count_clients_in_segments
- dbapi-service | http_post_create_segment
- dbapi-service | http_post_remove_client_from_segment
- dbapi-service | http_upload_post_upload_import_segments
- dbapi-service | http_upload_post_upload_remove_clients
- dbapi-service | http_upload_pre_upload_import_segments
- dbapi-service | http_upload_pre_upload_remove_clients
- dbapi-service | 27.03 18:45:58.835 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
- dbapi-service | 27.03 18:45:58.835 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
- dbapi-service | 27.03 18:45:58.842 WARN [URLConfigurationSource:121] - No URLs will be polled as dynamic configuration sources.
- dbapi-service | 27.03 18:45:58.843 INFO [URLConfigurationSource:122] - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath.
- dbapi-service | 27.03 18:45:59.291 INFO [EndpointLinksResolver:59] - Exposing 2 endpoint(s) beneath base path '/actuator'
- dbapi-service | 27.03 18:45:59.980 WARN [CoreAutoConfiguration:37] - This module is deprecated. It will be removed in the next major release. Please use spring-cloud-netflix-hystrix instead.
- dbapi-service | 27.03 18:46:00.263 INFO [NettyWebServer:77] - Netty started on port(s): 8080
- dbapi-service | 27.03 18:46:00.265 INFO [StartupInfoLogger:59] - Started DBApiApplication in 4.117 seconds (JVM running for 4.852)
- dbapi-service | 27.03 18:46:51.536 ERROR [StoredProcedureHandler:123] - Execute http stored procedure error: {}
- dbapi-service | org.springframework.dao.DataIntegrityViolationException: StatementCallback; SQL [SELECT * FROM segments.HTTP_POST_create_segment('{"Accept-Encoding":"gzip,deflate","Content-Length":"164","Host":"172.29.16.173:8090","User-Agent":"Apache-HttpClient/4.5.3 (Java/1.8.0_121)","Content-Type":"application/json"}','{"body":{"id":"SET1553701606354","name":"ььь","description":" ттиьиь","date_created":"2019-03-27T18:46:51","date_changed":"2019-03-27T18:46:51","author":"manager"}}')]; ERROR: value too long for type character varying(15)
- dbapi-service | Where: SQL statement "INSERT INTO segments.segments (id, name, description, date_created, date_end, count_clients, author) VALUES (
- dbapi-service | P_ID, P_NAME, P_DESCRIPTION, CURRENT_TIMESTAMP, P_END_DATE, 0, P_AUTHOR
- dbapi-service | ) ON CONFLICT (id) DO
- dbapi-service | UPDATE SET
- dbapi-service | name = P_NAME,
- dbapi-service | description = P_DESCRIPTION,
- dbapi-service | date_changed = CURRENT_TIMESTAMP,
- dbapi-service | date_end = P_END_DATE,
- dbapi-service | count_clients = 0,
- dbapi-service | author = P_AUTHOR"
- dbapi-service | PL/pgSQL function segments.create_segment(character varying,text,text,timestamp without time zone,text) line 3 at SQL statement
- dbapi-service | SQL statement "SELECT segments.create_segment(
- dbapi-service | ((params->'body')->>'id')::VARCHAR,
- dbapi-service | (params->'body')->>'name',
- dbapi-service | (params->'body')->>'description',
- dbapi-service | ((params->'body')->>'end_date')::TIMESTAMP,
- dbapi-service | (params->'body')->>'author')"
- dbapi-service | PL/pgSQL function segments.http_post_create_segment(jsonb,json) line 13 at PERFORM; nested exception is org.postgresql.util.PSQLException: ERROR: value too long for type character varying(15)
- dbapi-service | Where: SQL statement "INSERT INTO segments.segments (id, name, description, date_created, date_end, count_clients, author) VALUES (
- dbapi-service | P_ID, P_NAME, P_DESCRIPTION, CURRENT_TIMESTAMP, P_END_DATE, 0, P_AUTHOR
- dbapi-service | ) ON CONFLICT (id) DO
- dbapi-service | UPDATE SET
- dbapi-service | name = P_NAME,
- dbapi-service | description = P_DESCRIPTION,
- dbapi-service | date_changed = CURRENT_TIMESTAMP,
- dbapi-service | date_end = P_END_DATE,
- dbapi-service | count_clients = 0,
- dbapi-service | author = P_AUTHOR"
- dbapi-service | PL/pgSQL function segments.create_segment(character varying,text,text,timestamp without time zone,text) line 3 at SQL statement
- dbapi-service | SQL statement "SELECT segments.create_segment(
- dbapi-service | ((params->'body')->>'id')::VARCHAR,
- dbapi-service | (params->'body')->>'name',
- dbapi-service | (params->'body')->>'description',
- dbapi-service | ((params->'body')->>'end_date')::TIMESTAMP,
- dbapi-service | (params->'body')->>'author')"
- dbapi-service | PL/pgSQL function segments.http_post_create_segment(jsonb,json) line 13 at PERFORM
- dbapi-service | at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:104)
- dbapi-service | at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
- dbapi-service | at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
- dbapi-service | at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
- dbapi-service | at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeHttpStoredProcedure$1(JdbcStoredProcedureRepository.java:36)
- dbapi-service | at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
- dbapi-service | at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
- dbapi-service | at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
- dbapi-service | at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
- dbapi-service | at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- dbapi-service | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- dbapi-service | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- dbapi-service | at java.lang.Thread.run(Thread.java:748)
- dbapi-service | Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(15)
- dbapi-service | Where: SQL statement "INSERT INTO segments.segments (id, name, description, date_created, date_end, count_clients, author) VALUES (
- dbapi-service | P_ID, P_NAME, P_DESCRIPTION, CURRENT_TIMESTAMP, P_END_DATE, 0, P_AUTHOR
- dbapi-service | ) ON CONFLICT (id) DO
- dbapi-service | UPDATE SET
- dbapi-service | name = P_NAME,
- dbapi-service | description = P_DESCRIPTION,
- dbapi-service | date_changed = CURRENT_TIMESTAMP,
- dbapi-service | date_end = P_END_DATE,
- dbapi-service | count_clients = 0,
- dbapi-service | author = P_AUTHOR"
- dbapi-service | PL/pgSQL function segments.create_segment(character varying,text,text,timestamp without time zone,text) line 3 at SQL statement
- dbapi-service | SQL statement "SELECT segments.create_segment(
- dbapi-service | ((params->'body')->>'id')::VARCHAR,
- dbapi-service | (params->'body')->>'name',
- dbapi-service | (params->'body')->>'description',
- dbapi-service | ((params->'body')->>'end_date')::TIMESTAMP,
- dbapi-service | (params->'body')->>'author')"
- dbapi-service | PL/pgSQL function segments.http_post_create_segment(jsonb,json) line 13 at PERFORM
- dbapi-service | at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
- dbapi-service | at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
- dbapi-service | at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
- dbapi-service | at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
- dbapi-service | at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
- dbapi-service | at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
- dbapi-service | ... 10 common frames omitted
- dbapi-service | 27.03 18:46:57.752 ERROR [StoredProcedureHandler:123] - Execute http stored procedure error: {}
- dbapi-service | org.springframework.dao.DataIntegrityViolationException: StatementCallback; SQL [SELECT * FROM segments.HTTP_POST_create_segment('{"Accept-Encoding":"gzip,deflate","Content-Length":"164","Host":"172.29.16.173:8090","User-Agent":"Apache-HttpClient/4.5.3 (Java/1.8.0_121)","Content-Type":"application/json"}','{"body":{"id":"SET1553701606354","name":"ььь","description":" ттиьиь","date_created":"2019-03-27T18:46:57","date_changed":"2019-03-27T18:46:57","author":"manager"}}')]; ERROR: value too long for type character varying(15)
- dbapi-service | Where: SQL statement "INSERT INTO segments.segments (id, name, description, date_created, date_end, count_clients, author) VALUES (
- dbapi-service | P_ID, P_NAME, P_DESCRIPTION, CURRENT_TIMESTAMP, P_END_DATE, 0, P_AUTHOR
- dbapi-service | ) ON CONFLICT (id) DO
- dbapi-service | UPDATE SET
- dbapi-service | name = P_NAME,
- dbapi-service | description = P_DESCRIPTION,
- dbapi-service | date_changed = CURRENT_TIMESTAMP,
- dbapi-service | date_end = P_END_DATE,
- dbapi-service | count_clients = 0,
- dbapi-service | author = P_AUTHOR"
- dbapi-service | PL/pgSQL function segments.create_segment(character varying,text,text,timestamp without time zone,text) line 3 at SQL statement
- dbapi-service | SQL statement "SELECT segments.create_segment(
- dbapi-service | ((params->'body')->>'id')::VARCHAR,
- dbapi-service | (params->'body')->>'name',
- dbapi-service | (params->'body')->>'description',
- dbapi-service | ((params->'body')->>'end_date')::TIMESTAMP,
- dbapi-service | (params->'body')->>'author')"
- dbapi-service | PL/pgSQL function segments.http_post_create_segment(jsonb,json) line 13 at PERFORM; nested exception is org.postgresql.util.PSQLException: ERROR: value too long for type character varying(15)
- dbapi-service | Where: SQL statement "INSERT INTO segments.segments (id, name, description, date_created, date_end, count_clients, author) VALUES (
- dbapi-service | P_ID, P_NAME, P_DESCRIPTION, CURRENT_TIMESTAMP, P_END_DATE, 0, P_AUTHOR
- dbapi-service | ) ON CONFLICT (id) DO
- dbapi-service | UPDATE SET
- dbapi-service | name = P_NAME,
- dbapi-service | description = P_DESCRIPTION,
- dbapi-service | date_changed = CURRENT_TIMESTAMP,
- dbapi-service | date_end = P_END_DATE,
- dbapi-service | count_clients = 0,
- dbapi-service | author = P_AUTHOR"
- dbapi-service | PL/pgSQL function segments.create_segment(character varying,text,text,timestamp without time zone,text) line 3 at SQL statement
- dbapi-service | SQL statement "SELECT segments.create_segment(
- dbapi-service | ((params->'body')->>'id')::VARCHAR,
- dbapi-service | (params->'body')->>'name',
- dbapi-service | (params->'body')->>'description',
- dbapi-service | ((params->'body')->>'end_date')::TIMESTAMP,
- dbapi-service | (params->'body')->>'author')"
- dbapi-service | PL/pgSQL function segments.http_post_create_segment(jsonb,json) line 13 at PERFORM
- dbapi-service | at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:104)
- dbapi-service | at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
- dbapi-service | at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
- dbapi-service | at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
- dbapi-service | at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeHttpStoredProcedure$1(JdbcStoredProcedureRepository.java:36)
- dbapi-service | at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
- dbapi-service | at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
- dbapi-service | at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
- dbapi-service | at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
- dbapi-service | at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- dbapi-service | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- dbapi-service | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- dbapi-service | at java.lang.Thread.run(Thread.java:748)
- dbapi-service | Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(15)
- dbapi-service | Where: SQL statement "INSERT INTO segments.segments (id, name, description, date_created, date_end, count_clients, author) VALUES (
- dbapi-service | P_ID, P_NAME, P_DESCRIPTION, CURRENT_TIMESTAMP, P_END_DATE, 0, P_AUTHOR
- dbapi-service | ) ON CONFLICT (id) DO
- dbapi-service | UPDATE SET
- dbapi-service | name = P_NAME,
- dbapi-service | description = P_DESCRIPTION,
- dbapi-service | date_changed = CURRENT_TIMESTAMP,
- dbapi-service | date_end = P_END_DATE,
- dbapi-service | count_clients = 0,
- dbapi-service | author = P_AUTHOR"
- dbapi-service | PL/pgSQL function segments.create_segment(character varying,text,text,timestamp without time zone,text) line 3 at SQL statement
- dbapi-service | SQL statement "SELECT segments.create_segment(
- dbapi-service | ((params->'body')->>'id')::VARCHAR,
- dbapi-service | (params->'body')->>'name',
- dbapi-service | (params->'body')->>'description',
- dbapi-service | ((params->'body')->>'end_date')::TIMESTAMP,
- dbapi-service | (params->'body')->>'author')"
- dbapi-service | PL/pgSQL function segments.http_post_create_segment(jsonb,json) line 13 at PERFORM
- dbapi-service | at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
- dbapi-service | at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
- dbapi-service | at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
- dbapi-service | at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
- dbapi-service | at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
- dbapi-service | at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
- dbapi-service | ... 10 common frames omitted
- dbapi-service | 27.03 18:47:26.230 ERROR [StoredProcedureHandler:123] - Execute http stored procedure error: {}
- dbapi-service | org.springframework.dao.DataIntegrityViolationException: StatementCallback; SQL [SELECT * FROM segments.HTTP_POST_create_segment('{"Accept-Encoding":"gzip,deflate","Content-Length":"164","Host":"172.29.16.173:8090","User-Agent":"Apache-HttpClient/4.5.3 (Java/1.8.0_121)","Content-Type":"application/json"}','{"body":{"id":"SET1553701606354","name":"ььь","description":" ттиьиь","date_created":"2019-03-27T18:47:20","date_changed":"2019-03-27T18:47:20","author":"manager"}}')]; ERROR: value too long for type character varying(15)
- dbapi-service | Where: SQL statement "INSERT INTO segments.segments (id, name, description, date_created, date_end, count_clients, author) VALUES (
- dbapi-service | P_ID, P_NAME, P_DESCRIPTION, CURRENT_TIMESTAMP, P_END_DATE, 0, P_AUTHOR
- dbapi-service | ) ON CONFLICT (id) DO
- dbapi-service | UPDATE SET
- dbapi-service | name = P_NAME,
- dbapi-service | description = P_DESCRIPTION,
- dbapi-service | date_changed = CURRENT_TIMESTAMP,
- dbapi-service | date_end = P_END_DATE,
- dbapi-service | count_clients = 0,
- dbapi-service | author = P_AUTHOR"
- dbapi-service | PL/pgSQL function segments.create_segment(character varying,text,text,timestamp without time zone,text) line 3 at SQL statement
- dbapi-service | SQL statement "SELECT segments.create_segment(
- dbapi-service | ((params->'body')->>'id')::VARCHAR,
- dbapi-service | (params->'body')->>'name',
- dbapi-service | (params->'body')->>'description',
- dbapi-service | ((params->'body')->>'end_date')::TIMESTAMP,
- dbapi-service | (params->'body')->>'author')"
- dbapi-service | PL/pgSQL function segments.http_post_create_segment(jsonb,json) line 13 at PERFORM; nested exception is org.postgresql.util.PSQLException: ERROR: value too long for type character varying(15)
- dbapi-service | Where: SQL statement "INSERT INTO segments.segments (id, name, description, date_created, date_end, count_clients, author) VALUES (
- dbapi-service | P_ID, P_NAME, P_DESCRIPTION, CURRENT_TIMESTAMP, P_END_DATE, 0, P_AUTHOR
- dbapi-service | ) ON CONFLICT (id) DO
- dbapi-service | UPDATE SET
- dbapi-service | name = P_NAME,
- dbapi-service | description = P_DESCRIPTION,
- dbapi-service | date_changed = CURRENT_TIMESTAMP,
- dbapi-service | date_end = P_END_DATE,
- dbapi-service | count_clients = 0,
- dbapi-service | author = P_AUTHOR"
- dbapi-service | PL/pgSQL function segments.create_segment(character varying,text,text,timestamp without time zone,text) line 3 at SQL statement
- dbapi-service | SQL statement "SELECT segments.create_segment(
- dbapi-service | ((params->'body')->>'id')::VARCHAR,
- dbapi-service | (params->'body')->>'name',
- dbapi-service | (params->'body')->>'description',
- dbapi-service | ((params->'body')->>'end_date')::TIMESTAMP,
- dbapi-service | (params->'body')->>'author')"
- dbapi-service | PL/pgSQL function segments.http_post_create_segment(jsonb,json) line 13 at PERFORM
- dbapi-service | at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:104)
- dbapi-service | at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
- dbapi-service | at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
- dbapi-service | at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:81)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.translateException(JdbcTemplate.java:1444)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:388)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:452)
- dbapi-service | at ru.crystals.dbapi.service.database.repository.JdbcStoredProcedureRepository.lambda$executeHttpStoredProcedure$1(JdbcStoredProcedureRepository.java:36)
- dbapi-service | at reactor.core.publisher.MonoCallable.call(MonoCallable.java:91)
- dbapi-service | at reactor.core.publisher.FluxSubscribeOnCallable$CallableSubscribeOnSubscription.run(FluxSubscribeOnCallable.java:225)
- dbapi-service | at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:50)
- dbapi-service | at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:27)
- dbapi-service | at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- dbapi-service | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- dbapi-service | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- dbapi-service | at java.lang.Thread.run(Thread.java:748)
- dbapi-service | Caused by: org.postgresql.util.PSQLException: ERROR: value too long for type character varying(15)
- dbapi-service | Where: SQL statement "INSERT INTO segments.segments (id, name, description, date_created, date_end, count_clients, author) VALUES (
- dbapi-service | P_ID, P_NAME, P_DESCRIPTION, CURRENT_TIMESTAMP, P_END_DATE, 0, P_AUTHOR
- dbapi-service | ) ON CONFLICT (id) DO
- dbapi-service | UPDATE SET
- dbapi-service | name = P_NAME,
- dbapi-service | description = P_DESCRIPTION,
- dbapi-service | date_changed = CURRENT_TIMESTAMP,
- dbapi-service | date_end = P_END_DATE,
- dbapi-service | count_clients = 0,
- dbapi-service | author = P_AUTHOR"
- dbapi-service | PL/pgSQL function segments.create_segment(character varying,text,text,timestamp without time zone,text) line 3 at SQL statement
- dbapi-service | SQL statement "SELECT segments.create_segment(
- dbapi-service | ((params->'body')->>'id')::VARCHAR,
- dbapi-service | (params->'body')->>'name',
- dbapi-service | (params->'body')->>'description',
- dbapi-service | ((params->'body')->>'end_date')::TIMESTAMP,
- dbapi-service | (params->'body')->>'author')"
- dbapi-service | PL/pgSQL function segments.http_post_create_segment(jsonb,json) line 13 at PERFORM
- dbapi-service | at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
- dbapi-service | at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
- dbapi-service | at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
- dbapi-service | at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:307)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeCachedSql(PgStatement.java:293)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeWithFlags(PgStatement.java:270)
- dbapi-service | at org.postgresql.jdbc.PgStatement.executeQuery(PgStatement.java:224)
- dbapi-service | at com.zaxxer.hikari.pool.ProxyStatement.executeQuery(ProxyStatement.java:111)
- dbapi-service | at com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatement.java)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:439)
- dbapi-service | at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:376)
- dbapi-service | ... 10 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement