JPA Multi Column Join Legacy DB의 JPA Entity Mapping (복합키 매핑 편) - 우아한형제들 기술 블로그 Header - One @Getter @ @Getter @Entity @Table(name = "pay_detail_2") @IdClass(PayDetailId2.class) @NoArgsConstructor public class PayDetail2 { @Id private Long payNumber; @Id private Long paySeq; @Id private Long payDetailId; @OneToMany(mappedBy = "payDetail2", fetch = FetchType.LAZY) @org.hibernate.annotations.ForeignKey(name = "none") pr.. 2020. 6. 13. Logging application.properties #log logging.level.com.message=DEBUG logging.level.org.hibernate.SQL=WARN logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE # debug level logging.pattern.file=%d %p %c{1.} [%t] %m%n logging.pattern.console=%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n Log Level # TRACE > DEBUG > INFO > WARN > ERROR > FATAL ALL – The ALL has the lowest possible rank an.. 2020. 6. 4. intelliJ devtool live reload VS Code, Eclipse 등 IDE 에서는 devtool DI -> 자동으로 complie, build 진행 org.springframework.boot spring-boot-devtools intelliJ 반응이 없음 해결방안 1. application.properties, application.yml spring.devtools.livereload.enabled=true 2. intelliJ 설정 변경 https://jojoldu.tistory.com/48 SpringBoot에서 template, static resource 실시간 반영하기 (spring-boot-devtools) Intellij + SpringBoot + Template Engine 조합으로 웹 개발을 하다보면 정말 노가다라고.. 2020. 6. 3. 이전 1 2 다음 728x90 반응형