aspose file tools*
The moose likes JDBC and the fly likes Timestamp in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Timestamp in Java" Watch "Timestamp in Java" New topic
Author

Timestamp in Java

Dharmendra Kumar
Greenhorn

Joined: Dec 11, 2001
Posts: 2
I am getting problem while using Timestamp in java.sql.* package. I have written a Stored procedure in SQL in which Timestamp data type is one of the input parameter to the SP. While invoking the Strored Procedure from JSP using
setTimestamp() it throws an Truncation Error. If any body knows what the problem is pl let me know.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Timestamp in Java
 
Similar Threads
Type conflict while saving XML
bean:write datetime
mysql timestamp
jtds driver gives following error
IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff