下面是相同的代碼非常相似,我的代碼,我現在所面臨的問題 //mapped to Table B
class B implements Serializable {
//Primary key bId
private Long bId;
//Getter and setter for bId;
}
//Mapped to table C
class C imp
我有以下表場景: User
- Id (PK)
- Username
Advert
- Id (PK)
- Title
AdvertPhoto
- Advert (PK) (Also a FK for Advert table)
- Image
Bid
- Advert (PK) (Also a FK for Ad