[Lada-commits] [PATCH 2 of 3] Updated status model

Wald Commits scm-commit at wald.intevation.org
Wed Feb 18 13:56:28 CET 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1424264222 -3600
# Node ID 65ca349d31cf62e62e701ef60d35ff76c658e9a7
# Parent  2dfe93b35fe0e619c6253a857987e675837dfbf2
Updated status model.

diff -r 2dfe93b35fe0 -r 65ca349d31cf src/main/java/de/intevation/lada/model/Status.java
--- a/src/main/java/de/intevation/lada/model/Status.java	Wed Feb 18 13:56:48 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/Status.java	Wed Feb 18 13:57:02 2015 +0100
@@ -21,6 +21,8 @@
     private static final long serialVersionUID = 1L;
 
     @Id
+    @GeneratedValue(strategy=GenerationType.IDENTITY)
+    @Column(name="id", nullable=false, insertable=false)
     private Integer id;
 
     private String erzeuger;


More information about the Lada-commits mailing list