Increased profile configuration (not tested)
spring.jpa.hibernate.use-new-id-generator-mappings=false
Or
Entity class in the primary key comment policy modification is GenerationType.IDENTITY
@GeneratedValue(strategy = GenerationType.IDENTITY)
To note that, if such an association in other classes, should also be amended along