분류 전체보기 250

[mysql] 자료형

https://eongeuni.tistory.com/16 [mysql] 자료형 -- 참고 : 생활코딩 mysql수업데이터타입 STRING형 CHAR( ) 0 ~ 255 고정문자 길이 크기를 지정하면 어떤길이의 데이터가 들어와도 같은용량 차지 --검색이 효율적임 VARCHAR( ) 0 ~ 65535 가변 문자 길이 데이 eongeuni.tistory.com https://determination.tistory.com/entry/MySQL-%EC%9E%90%EB%A3%8C%ED%98%95-%ED%97%B7%EA%B0%88%EB%A6%AC%EB%8A%94-%EA%B1%B0-%EC%A0%95%EB%A6%AC?category=1056523?category=1056523 MySQL - 자료형 헷갈리는 거 정리 CH..

Repository에 쓰이는 JPA의 findById vs getReferenceById

https://passionfruit200.tistory.com/386 [Spring Boot]JPA의 findById vs getReferenceById 의 차이점과 언제사용하는것이 맞는지에 대하여 글을 작성하게된 계기 member Entity를 생성하고 관련 테스트 코드를 작성하던 도중에, JPA를 상속받은 MemberRepository 에서 하나의 데이터를 조회할때 하나의 함수가 있는것이 아닌, findById 와 getReferenc passionfruit200.tistory.com

build.gradle에 lombok 설정

build.gradle 정보 https://velog.io/@pllap/build.gradle-%EB%A7%9B%EB%B3%B4%EA%B8%B0 build.gradle 맛보기 작업 중인 프로젝트의 build.gradle 파일의 내용이 다음과 같다고 하자.가장 바깥쪽에는 plugins, configurations, repositories, dependencies 블럭이 보인다. 스프링 프로젝트를 진행하며 의존성을 추가할 때는 d velog.io configurations { compileOnly { extendsFrom annotationProcessor } } dependencies { // lombok 라이브러리 compileOnly 'org.projectlombok:lombok' annotationP..

@PathVariable vs @RequestParam vs @RequestBody

간단 설명 https://leeeehhjj.tistory.com/51 @RequestParam과 @PathVariable, @RequestBody의 차이 이 어노테이션들은 controller에서 프론트로부터 파라미터를 전달받을 때 사용하는 어노테이션들이다. 1. @RequestParam @GetMapping("club") public ClubResponseDto findById(@RequestParam(value = "id") Long id) { return clubSer leeeehhjj.tistory.com https://u0hun.tistory.com/21 @RequestParam, @PathVariable, @RequestBody https://elfinlas.github.io/2018/02/18..