Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- OverTheWire
- Spring Boot
- Camera Movement
- MySQL
- springboot
- docker
- mongoDB
- critical rendering path
- screencapture
- Camera Zoom
- rpg server
- --watch
- Unity Editor
- Git
- server
- css framework
- draganddrop
- java
- Digital Ocean
- Google Developer API
- react
- spread 연산자
- nodejs
- Google Refund
- SDK upgrade
- Packet Network
- unity
- linux
- Unity IAP
- express
Archives
- Today
- Total
목록Repository (1)
우당탕탕 개발일지
[SpringBoot] 6. 데이터베이스의 객체와 연관관계 (Repository 계층)
실습 library db에는 user테이블과 book테이블, 그리고 어떤 유저가 어떤 책을 빌렸는지 정보를 저장하는 user_loan_history 테이블이 있다. user_loan_history 테이블은 아래처럼 생겼다.create table user_loan_history( id bigint auto_increment, user_id bigint, book_id bigint, is_return tinyint(1),) SQL대신 ORM을 사용하게 된 이유 중 하나는, DB테이블과 객체의 패러다임이 다르기 떄문이었다. Java는 객체지향형 언어이고, 대규모 웹 어플리케이션을 다룰 때에도 객체지향적인 방법이 어울린다. 현재 코드를 조금 더 객체지향적으로 업그레이드 하는 방법을 알아보자..
Server
2025. 1. 8. 16:13