Anonymous | Login | Signup for a new account | 11-22-2024 04:39 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0002968 | [Hessian] | minor | always | 09-25-08 11:41 | 09-25-08 11:41 | |||||||
Reporter | ferg | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 3.2.0 | |||||||||
Summary | 0002968: Hessian deserialization of timestamps | |||||||||||
Description |
(rep by Marieke Vandamme) I have a problem with deserializing timpstamp fields in hessian 3.2.0. When the field with the date or timestamp is null, I get an exception. The exception comes from the Deserializer while creating the Date, Time or Timestamp. I've added a condition in the SqlDateFieldDeserializer, SqlTimestampFieldDeserializer and SqlTimeFieldDeserializer. When date == null don't create the Date, Time or Timestamp with as parameter date.getTime(). (For example: value = (date==null)?null:new java.sql.Timestamp(date.getTime());) |
|||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
There are no notes attached to this issue. |
Issue History | |||
Date Modified | Username | Field | Change |
09-25-08 11:41 | ferg | New Issue | |
09-25-08 23:13 | Marieke Vandamme | Issue Monitored: Marieke Vandamme |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |