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.