@Entity
@Table(MemberInfo)
public class MemberInfo{
   
   private String name;
}

위와 같이 정의하게 되면 하이버네이트가 올라가면서 member_info로 테이블네임을 맵핑해 버린다. 테이블이 없으면 member_info로 인식하고, 테이블이 있다면 member_info에 맵핑 하겠지만 @Table을 사용 했다는 것에서 개발자의 의도가 @Table에 넘긴 테이블네임들 그대로 쓰고 싶은 경우가 많을 것이다.

application.properties에 아래 코드를 적어주면 코드 제네레이터가 작동하지 않는다.

application.properties

spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

출처 https://stackoverflow.com/questions/25283198/spring-boot-jpa-column-name-annotation-ignored