Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Date Mapping  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!