fixes bug AL-4506. Tratamento para nao ocasionar excecao da trigger

before do totalbus
master
valdevir 2024-09-12 14:27:25 -03:00
parent 14500154b3
commit 06bcb67a0a
3 changed files with 109 additions and 93 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>Flyway</artifactId> <artifactId>Flyway</artifactId>
<version>1.92.2</version> <version>1.92.3</version>
<distributionManagement> <distributionManagement>
<repository> <repository>

View File

@ -1,3 +1,11 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01451);
begin
execute immediate 'ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ',.'';
exception when column_exists then null;
end;
/
declare declare
column_exists exception; column_exists exception;
pragma exception_init (column_exists , -01451); pragma exception_init (column_exists , -01451);

View File

@ -1,3 +1,11 @@
declare
column_exists exception;
pragma exception_init (column_exists , -01451);
begin
execute immediate 'ALTER SESSION SET NLS_NUMERIC_CHARACTERS = ',.'';
exception when column_exists then null;
end;
/
declare declare
column_exists exception; column_exists exception;
pragma exception_init (column_exists , -01451); pragma exception_init (column_exists , -01451);