erDiagram
CUSTOMER {
int id PK
string name
}
ORDER {
int id PK
int customerId FK
date orderDate
}
PRODUCT {
int id PK
string name
int price
}
DELIVERY {
int id PK
int orderId FK
string status
}
ORDER_PRODUCT {
int id PK
int orderId FK
int productId FK
}
CUSTOMER ||--o{ ORDER : places
ORDER ||--o| DELIVERY : has
ORDER ||--o{ ORDER_PRODUCT : includes
PRODUCT ||--o{ ORDER_PRODUCT : listed_in
-
Notifications
You must be signed in to change notification settings - Fork 1
EntryAssignment/online-shopping
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
JPA 의 기능 중 table을 자동으로 생성해주는 기능에 대해 알아보고, 해당 기능 비활성화 후 직접 sql 문으로 설계한 엔티티 클래스를 토대로 create table문 작성
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published