Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Date Mapping

 
mohit joshi
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does one map an EntityBeanField to Date field in DB. If i use java.sql.Date, then the time is not saved, and if I use java.sql.Time, then the Date is not saved, but the time of the day is saved. Java.util.Date doesnt bind to Date field of DB, when working with oracle and weblogic.
Any body can help...
 
mohit joshi
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Timestamp is the answer
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic