Skip to content

Commit c69602b

Browse files
committed
Restore executeInTransaction to default true
FlywayProperties has executeInTransaction default as false, changing the org.flywaydb.core.api.configuration.Configuration#isExecuteInTransaction default. See also org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayConfiguration#configureProperties
1 parent 1dbe09c commit c69602b

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway

1 file changed

+1
-1
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/flyway/FlywayProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ public class FlywayProperties {
365365
/**
366366
* Whether Flyway should execute SQL within a transaction.
367367
*/
368-
private boolean executeInTransaction;
368+
private boolean executeInTransaction = true;
369369

370370
public boolean isEnabled() {
371371
return this.enabled;

0 commit comments

Comments
 (0)