This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages 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