From d13bca5066cee3a3388ffee56c82fc37789ee179 Mon Sep 17 00:00:00 2001 From: emerson Date: Tue, 30 Apr 2019 13:02:02 +0000 Subject: [PATCH] =?UTF-8?q?fixes=20bug#0014161=20dev:=20thiago=20qua:=20ma?= =?UTF-8?q?rcelo=20Corre=C3=A7=C3=A3o=20de=20erros:=20ORA-12899:=20valor?= =?UTF-8?q?=20muito=20grande=20para=20a=20coluna=20"VTABOL"."FECHAMENTO=5F?= =?UTF-8?q?DEPOSITO"."NUMDEPOSITO"=20(real:=2021,=20m=C3=A1ximo:=2016)=20j?= =?UTF-8?q?ava.lang.NullPointerException=20=09at=20com.rjconsultores.venta?= =?UTF-8?q?boletos.service.MetodosComuns.verificaCategoriaLiberadaVenda(Me?= =?UTF-8?q?todosComuns.java:9401)=20[:]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@92586 d1611594-4594-4d17-8e1d-87c2c4800839 --- src/db/migration/V20190430_0940__mantis14161.sql | 6 ++++++ src/db/postgresql/migration/V20190430_0940__mantis14161.sql | 1 + 2 files changed, 7 insertions(+) create mode 100644 src/db/migration/V20190430_0940__mantis14161.sql create mode 100644 src/db/postgresql/migration/V20190430_0940__mantis14161.sql diff --git a/src/db/migration/V20190430_0940__mantis14161.sql b/src/db/migration/V20190430_0940__mantis14161.sql new file mode 100644 index 000000000..4b481961d --- /dev/null +++ b/src/db/migration/V20190430_0940__mantis14161.sql @@ -0,0 +1,6 @@ +declare + column_exists exception; + pragma exception_init (column_exists , -01430); +begin + execute immediate 'alter table fechamento_deposito modify (numdeposito varchar2(22))'; +end; \ No newline at end of file diff --git a/src/db/postgresql/migration/V20190430_0940__mantis14161.sql b/src/db/postgresql/migration/V20190430_0940__mantis14161.sql new file mode 100644 index 000000000..9ada08ece --- /dev/null +++ b/src/db/postgresql/migration/V20190430_0940__mantis14161.sql @@ -0,0 +1 @@ +alter table fechamento_deposito alter column numdeposito type varchar(22); \ No newline at end of file