From 9034e660bddcb58b559156c9ba90df1869be83fb Mon Sep 17 00:00:00 2001 From: Barry Attwater Date: Tue, 16 Jul 2024 11:34:27 +0100 Subject: [PATCH] Fix record change for Result object --- .../database/db2z/DB2ZCallProcedureParsedStatement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flyway-database-db2zos/src/main/java/org/flywaydb/community/database/db2z/DB2ZCallProcedureParsedStatement.java b/flyway-database-db2zos/src/main/java/org/flywaydb/community/database/db2z/DB2ZCallProcedureParsedStatement.java index e8b7997..7872e00 100644 --- a/flyway-database-db2zos/src/main/java/org/flywaydb/community/database/db2z/DB2ZCallProcedureParsedStatement.java +++ b/flyway-database-db2zos/src/main/java/org/flywaydb/community/database/db2z/DB2ZCallProcedureParsedStatement.java @@ -65,7 +65,7 @@ public Results execute(JdbcTemplate jdbcTemplate, SqlScriptExecutor sqlScriptExe if(resultList.size() > 0) { Result result = resultList.get(0); if(result != null) { - List> resultData = result.getData(); + List> resultData = result.data(); if(resultData != null && resultData.size() > 0) { List lastResultRow = resultData.get(resultData.size()-1); if(lastResultRow != null && lastResultRow.size() > 0 ) {