728x90
728x90
[SpringBoot/JPA] SpringBoot Entity @Table 대소문자 구분 못할 때
트러블슈팅2023. 5. 16. 06:38[SpringBoot/JPA] SpringBoot Entity @Table 대소문자 구분 못할 때

에러 메세지 없음 원인 대소문자를 구분못해서 계속 소문자 형태의 table이 생성됨 그러다보니 기존 User 테이블에서 데이터를 조회하지 못해서 계속 null을 가져옴. 해결 application.properties에 아래 코드 추가 spring.jpa.hibernate.naming.physical-strategy = org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl

728x90
728x90
image