728x90 반응형 QueryDSL2 [SpringBoot] JPA Comment (주석 추가) 설정 방법 JPA Comment (주석 추가) 설정 방법 application.ymlspring: jpa: properties: hibernate: show_sql: false format_sql: true use_sql_comments: true # sql comments 사용 1. JPA Repository에 적용 방법To apply JPA QueryHints to the queries declared in your repository interface you can use the QueryHints annotation. It takes an array of JPA QueryHint annotations plus a boolean flag to potentiall.. 2024. 2. 2. [SpringBoot] Mybatis + JPA + QueryDsl 설정 https://moonsiri.tistory.com/53 기존에 설정해둔 DB Configuration에 설정을 추가하겠습니다.Spring Boot에서 MyBatis, JPA, 그리고 QueryDSL을 함께 사용하는 설정 방법을 소개합니다. 1. JPA 설정 pom.xml org.springframework.boot spring-boot-starter-data-jpa DatabaseConfig.java@Configuration@EnableJpaRepositories( basePackages = "com.moonsiri.**.repository", entityManagerFactoryRef = "entityManagerFactory", transactionManagerRef.. 2021. 6. 10. 이전 1 다음 728x90 반응형