Repository2 [회원 관리 예제, 백엔드 개발 - (2)] 회원 도메인과 리포지토리 만들기 git repository : https://github.com/Rezalog/spring-boot-entry-inf GitHub - Rezalog/spring-boot-entry-inf Contribute to Rezalog/spring-boot-entry-inf development by creating an account on GitHub. github.com Package domain : 비즈니스 로직에서 사용되고 DB에 저장되어 관리되기 위한 객체 Member repository : domain 객체를 저장하기 위함 MemberRepository(interface) MemoryMebmerRepository(interface impl) domain 식별자 id, 입력받을 회원 정보인 name 에 .. 2022. 6. 29. [Spring Boot - JPA] form Tag와 DTO, Entity, Repository - (1) JPA의 역할 : JPA는 Server단의 Java에서 DB가 이해하는 SQL에서 생기는 언어적차이를 극복하기위해 명령을 내릴수 있게하는 도구이다. 또한 Entity, Repository 의 도구 등으로 DB 관리를 용이하게한다. Entity, Repository의 역할은? : Entity는 자바객체인 DTO를 DB가 이해할 수 있게 규격화한 것이고, 이는 Repository라는 일꾼을 통해 DB에 전달되고, 처리된다. 즉, DTO를 Entity로 전환하고, Entity를 Repository로 저장하는 형태이다. - Source Code https://github.com/Rezalog/springboot_basic 2022. 6. 27. 이전 1 다음