Mantis - Hessian
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2968 | minor | always | 09-25-08 11:41 | 09-25-08 11:41 | |
|
|||||
Reporter: | ferg | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 3.2.0 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
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());) |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |