It seems the columnDefinition has been always executed in the app's every running. This behavior only happened in Spring Boot 3.1.1.

Everything is ok in Spring Boot 3.0.x and 2.6.x.

More details https://stackoverflow.com/questions/76545666/how-to-disable-columndefinition-to-be-executed-twice-in-spring-boot-3-1-x

Comment From: wilkinsona

Closing in favor of the question on Stack Overflow.

@Heromyth Please don't cross-post like this as it just wastes the time of those trying to help you.