This content has been marked as final.
Show 3 replies
-
1. Re: Validation oracle date field
ellenzhao Jul 12, 2007 1:29 PM (in response to igorcin)is your Date in the entity class java.util.Date?
-
2. Re: Validation oracle date field
igorcin Jul 13, 2007 2:59 AM (in response to igorcin)I' m not sure what you mean, my class is an entity, user object with a field java.util.Date
@Entity
public class User{
private Date startdate;
@Basic @Temporal(TemporalType.DATE)
@NotNull
public Date getStartdate() {
return this.startdate;
}
public void setStartdate(Date startdate) {
this.startdate = startdate;
}
} -
3. Re: Validation oracle date field
pmuir Jul 13, 2007 11:19 AM (in response to igorcin)There is also java.sql.Date. You'll probably have to use your debugger on this one...