File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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
mysql timestamp
jtds driver gives following error
Type conflict while saving XML
bean:write datetime
IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff