• Post Reply Bookmark Topic Watch Topic
  • New Topic

Date in Hibernate  RSS feed

 
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!