Is it possible to specify the columnDefinition atttribute for the @Column annotation in VP-UML?
I want to have the following specification:
@Column(name="create_date",columnDefinition="TIMESTAMPTZ DEFAULT CURRENT_TIMESTAMP", nullable=false)
public Timestamp getCreate_date() {
return this.create_date;
}
But the code generated from Java round trip does not include columnDefinition.
@Column(name="create_date", nullable=false)
public Timestamp getCreate_date() {
return this.create_date;
}
I am creating the schema in ERD and syncing it to the class diagram and marking it with stereotype “Entity”. I have specified a default value in my ERD but it does not seem to carry through.
Any ideas?