Merge pull request 'fixes bug AL-4506. Tratamento para nao ocasionar excecao da trigger' (!197) from AL-4505 into master

Reviewed-on: utilidades/Flyway#197
Reviewed-by: aristides <aristides@rjconsultores.com.br>
master
pinheiro 2024-09-12 17:39:30 +00:00
commit ae0bd9f638
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);