Skip to content

Commit

Permalink
Merge branch 'main' into flowable-release-7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphr committed Aug 22, 2024
2 parents 1daaa40 + e9977ef commit 9869e7c
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,12 +318,10 @@ protected void executeSchemaResource(String operation, String component, String
sqlStatement = addSqlStatementPiece(sqlStatement, line.substring(0, line.length() - 1));
}

Statement jdbcStatement = connection.createStatement();
try {
try (Statement jdbcStatement = connection.createStatement();) {

logger.debug("SQL: {}", sqlStatement);
jdbcStatement.execute(sqlStatement);
jdbcStatement.close();

} catch (Exception e) {
if (exception == null) {
Expand Down

0 comments on commit 9869e7c

Please sign in to comment.