File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Date Mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Date Mapping" Watch "Date Mapping" New topic
Author

Date Mapping

mohit joshi
Ranch Hand

Joined: Sep 23, 2000
Posts: 243
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

Joined: Sep 23, 2000
Posts: 243
Timestamp is the answer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Date Mapping