Hello All,
we have a specific requirement that while generating pojo's (ejb3) from oracle data base for the Date(oracle) to Date(java) we receive following annotations.
@Temporal(TemporalType.DATE) @Column(name = "STATE_CHANGE_DATE_TM", nullable = false, length = 7) public Date getStateChangeDateTm() { return this.stateChangeDateTm; }
instead we want it to be generated as
@Temporal(TemporalType.TIMESTAMP) @Column(name = "STATE_CHANGE_DATE_TM", nullable = false, length = 7) public Date getStateChangeDateTm() { return this.stateChangeDateTm; }
|