Hallo zusammen,
ich versuche eine one to Many Beziehung hinzubekommen,
Tabelle products
products_id (AI, PK)
products_name
Tabelle attribute
attribute_id( AI, PK)
Jedes product soll mehrere Attribute haben
Wenn ich in Eclipse Create Entities from JPA aufrufe, schlägt er immer 1 : 1 vor
was hab ich falsch gemacht an der Tabelle attributes? Wenn ich von products auf attributes verlinke, bekomme ich * : 1 aber das ist falsch rum...
ich versuche eine one to Many Beziehung hinzubekommen,
Tabelle products
products_id (AI, PK)
products_name
Tabelle attribute
attribute_id( AI, PK)
Jedes product soll mehrere Attribute haben
Wenn ich in Eclipse Create Entities from JPA aufrufe, schlägt er immer 1 : 1 vor
was hab ich falsch gemacht an der Tabelle attributes? Wenn ich von products auf attributes verlinke, bekomme ich * : 1 aber das ist falsch rum...