diff --git a/shipping/src/main/java/org/shipping/model/Shipment.java b/shipping/src/main/java/org/shipping/model/Shipment.java index bb398994..e62228d7 100755 --- a/shipping/src/main/java/org/shipping/model/Shipment.java +++ b/shipping/src/main/java/org/shipping/model/Shipment.java @@ -32,7 +32,7 @@ public class Shipment { private LocalDateTime deliveryDate; @ManyToOne - @JoinColumn(name = "addressId", referencedColumnName = "id") + @JoinColumn(name = "addressId", referencedColumnName = "addressId") private Address address;