1 package org.sonar.samples;
\r
3 import javax.persistence.*;
\r
7 public class HibernateModel implements java.io.Serializable {
\r
10 @Column(name = "id")
\r
11 @SequenceGenerator(name = "FOO_ID_SEQ", sequenceName = "FOO_ID_SEQ")
\r
12 @GeneratedValue(strategy = GenerationType.AUTO, generator = "FOO_ID_SEQ")
\r
15 @Column(name = "column1", updatable = true, nullable = true, length = 32)
\r
16 private String column1;
\r
18 public HibernateModel() {
\r
21 public HibernateModel(String column1) {
\r
22 this.column1 = column1;
\r