[jboss-user] [JBoss Seam] - Re: Validation oracle date field
igorarbizu
do-not-reply at jboss.com
Fri Jul 13 02:59:24 EDT 2007
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;
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063805#4063805
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063805
More information about the jboss-user
mailing list