@Entity
@Table(name = "`TestEntities`")
public class TestEntity {
@Id
@Column(name = "`id`", nullable = false, updatable = false)
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
@Column(name = "`foo`", nullable = true)
private String foo;
public TestEntity() {
}
public void setFoo(String foo) {
this.foo = foo;
}
}