]> git.mxchange.org Git - jbonuscard-core.git/commitdiff
"company_id" was the old column name, now it is "business_contact_id"
authorRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 20:40:30 +0000 (22:40 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 20:40:30 +0000 (22:40 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/jfinancials/model/receipt/FinancialReceipt.java

index 9b64b854ca8f41145ca66e4b08ea5d4cebd6757a..62b4c29b06326dc78c6c772942681315ed114ca2 100644 (file)
@@ -91,7 +91,7 @@ public class FinancialReceipt implements BillableReceipt {
        /**
         * Seller instance
         */
-       @JoinColumn (name = "receipt_seller_id", referencedColumnName = "company_id", nullable = false, updatable = false)
+       @JoinColumn (name = "receipt_seller_id", referencedColumnName = "business_contact_id", nullable = false, updatable = false)
        @OneToOne (targetEntity = CompanyContact.class, cascade = CascadeType.REFRESH, optional = false)
        private BusinessContact receiptSeller;