• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date in Hibernate

 
sarada srinivas
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to use only date as column. I don't want to include time stamp. please let me know how to achive it in hibernate using mySQL,java Date?

Thanks in advance.
Sarada.
 
sarada srinivas
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It has been solved....

Use java.util.Date instead of java.sql.Date.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic