Post

2022-03-10-TIL

2022-03-10-TIL

Today I Learned

연관관계 테이블

연관관계를 맺는 테이블이 있는게 나을까? 아니면 그냥 외래키를 두어서 참조하는 형태가 나을까?

관계 테이블이 있을때 QueryDSL 조인

1
  • https://stackoverflow.com/questions/67217677/solved-how-to-join-jointable-using-querydsl

연관관계 없이 Join

  • https://jojoldu.tistory.com/396

쿼리 결과 프로젝션

  • http://querydsl.com/static/querydsl/3.4.2/reference/html/ch03s02.html

여러개의 테이블 조인

  • https://stackoverflow.com/questions/47701172/how-to-join-multiple-querydsl-tables
  • https://www.baeldung.com/rest-querydsl-multiple-tables

같은 테이블에 대해서 여러개의 엔티티

같은 테이블 하나에 대해서 여러개의 엔티티를 생성하여 사용해도 될까? 동시성이나 트랜잭션의 이슈가 발생하지 않을까?

Gradle 프로젝트 라이브러리화

  • https://velog.io/@haerong22/Gradle-%EB%9D%BC%EC%9D%B4%EB%B8%8C%EB%9F%AC%EB%A6%AC-%EB%A7%8C%EB%93%A4%EA%B3%A0-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0Maven-Local-Repository
  • https://docs.gradle.org/current/userguide/publishing_maven.html
  • https://docs.gradle.org/current/samples/sample_building_java_libraries.html
  • https://kim-daeyong.github.io/2019-08-26-nexus/

Gradle Compile and Implementation

  • https://compogetters.tistory.com/64

QueryDSL 조회 DTO, Entity

  • https://jojoldu.tistory.com/518
  • https://cheese10yun.github.io/querydsl-projections/
  • https://roytuts.com/how-to-map-custom-query-results-into-dto-in-spring-data-jpa/

QueryDSL

  • https://ict-nroo.tistory.com/117
  • https://www.baeldung.com/rest-api-search-language-spring-data-querydsl
  • https://gilssang97.tistory.com/44
  • http://querydsl.com/static/querydsl/latest/reference/html/
  • https://velog.io/@cco2416/Querydsl-%EC%82%AC%EC%9A%A9-%EC%A0%95%EB%A6%AC
This post is licensed under CC BY 4.0 by the author.