LAST_UPDATE_DATE DATE not null,
LAST_UPDATED_BY VARCHAR2(20) not null,
CREATION_DATE DATE not null,
CREATED_BY VARCHAR2(20) not null,
Oracle表的定义
通过 myeclipse for Spring 自动hibernate Revse,生成带注解的PO对象
@Temporal(TemporalType.)
@Column(name = "CREATION_DATE", nullable = false, length = 7)
public Date getCreationDate() {
return this.creationDate;
}
将DATE改成就能保存时间到数据库,具体原因不深究