下面是相同的代码非常相似,我的代码,我现在所面临的问题 //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