]> git.mxchange.org Git - jbonuscard-core.git/commitdiff
must be IDENTITY
authorRoland Häder <roland@mxchange.org>
Wed, 19 Apr 2017 22:03:12 +0000 (00:03 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 19 Apr 2017 22:03:12 +0000 (00:03 +0200)
src/org/mxchange/jfinancials/model/receipt/Receipt.java

index 9cf0d20f73a1f514ae3832c51cbd2b7cfb451a3e..c29088151fd6218bd938df83562dc8339eb5e0d8 100644 (file)
@@ -68,7 +68,7 @@ public class Receipt implements Billable {
         * Primary key
         */
        @Id
-       @GeneratedValue (strategy = GenerationType.AUTO)
+       @GeneratedValue (strategy = GenerationType.IDENTITY)
        @Column (name = "receipt_id", nullable = false, updatable = false)
        private Long receiptId;