I am reading in some xml where I have a time that I map to an
attribute of type java.sql.Time.
The problem is that the input time will be stored with an additional
hour in the object,
e.g. 23:45 in the xml will be 00:45 in the object
13:15 in xml will be 14:15 in the object

I have no idea why this is, could it have anything to do with daylight
saving time?
Do I need to create some special serializer/deserializer for time?
any tips are appreciated, because I am totally clueless here...

in the binding:
...
<value name="timeSent" field="timeCreated"/>
...

in the class:
...
private Time timeCreated;
...

my input xml:
...
<timeSent>14:42:00</timeSent>
...

after parsing the xml, the object contains the time 15:42:00.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to