• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate datetime

 
Baris Bicer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everbody
i have used hibernate3.2 + JSF1.2+ MsSql 2005
i have table that one column type datetime and checked allows null value.
one persist object correspond that column

public String getWorkdate()
{
return workdate;
}
public void setWorkdate(String murcth)
{
this.workdate = workdate;
}

if i not insert value in this columns that otomatically get like this value 1/1/1900 12:00:00 AM but i dont want to this value i want to null value display.
when i write sql command all of taht okey but with interface not
can you help me pls
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic