Closed
Description
I tried adding @column and @Versioin to the getter, but none of them worked.
@Entity
@Table(name = "contact")
public class ContactEO {
@Id
private Integer id;
private String name;
@Column(name = "contact_name", nullable = false, length = 512)
public String getName() {
return name;
}
// other getter setter
}
log output create table sql:
create table contact (id int4 not null, name varchar(255), primary key (id))