changeset 487:65ca349d31cf

Updated status model.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 18 Feb 2015 13:57:02 +0100
parents 2dfe93b35fe0
children c1b0f4217488
files src/main/java/de/intevation/lada/model/Status.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)