Merge pull request 'fixes bug#AL-2027' (#45) from AL-2027 into master

Reviewed-on: http://18.235.188.113:3000/adm/VentaBoletosAdm/pulls/45
Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>
Reviewed-by: Wilian Domingues <wilian@rjconsultores.com.br>
master
fabio 2023-01-09 20:51:06 +00:00
commit 28df33a034
2 changed files with 3 additions and 4 deletions

View File

@ -4,12 +4,12 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId> <artifactId>ventaboletosadm</artifactId>
<version>1.0.33</version> <version>1.0.34</version>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>
<modelWeb.version>1.0.21</modelWeb.version> <modelWeb.version>1.0.21</modelWeb.version>
<flyway.version>1.0.13</flyway.version> <flyway.version>1.0.14</flyway.version>
</properties> </properties>
<distributionManagement> <distributionManagement>

View File

@ -30,9 +30,8 @@ public class TesteFlyway {
}finally{ }finally{
if (dataSource != null){ if (dataSource != null){
try { try {
((OracleDataSource)dataSource).close(); ((OracleDataSource)dataSource).getConnection().close();
} catch (SQLException e) { } catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();
} }
} }