From 64c15b1b4c13325f294ef27d8013e0e480b35d71 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 20 Apr 2017 00:03:12 +0200 Subject: [PATCH] must be IDENTITY --- src/org/mxchange/jfinancials/model/receipt/Receipt.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/mxchange/jfinancials/model/receipt/Receipt.java b/src/org/mxchange/jfinancials/model/receipt/Receipt.java index 9cf0d20..c290881 100644 --- a/src/org/mxchange/jfinancials/model/receipt/Receipt.java +++ b/src/org/mxchange/jfinancials/model/receipt/Receipt.java @@ -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; -- 2.39.5