This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
F5 or page refresh calls onSubmit of spring controller - database again updated
GUI components
Date and time in DB
Date question
NX: "Date available" in Hotel Room System