use java.sql.TimeStamp object


-----Original Message-----
From: Oisin Kim [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 9:34 AM
To: Orion-Interest
Subject: Problem with using java.util.date Objects as CMP Entity
fieldsin Orion 1.5.2


Hi all,
I was wondering if anyone has had similar problems to me with writing 
java.util.Data objects to a postgresql database as an entity bean field.
This is the exception I get
 
com.evermind.server.rmi.OrionRemoteException: Error loading state: Bad 
Timestamp Format at 19 in 2001-07-27 16:29:22.97+01
        at 
MessageNode_EntityBeanWrapper0.SubmitMessage(MessageNode_EntityBeanWrapp
er0.java:245)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.evermind._dh._gc(Unknown Source)
        at com.evermind._if.run(Unknown Source)
Any help would be greatly apprecieated,
the only solutionI can think of is to store longs in the database
instead of 
timestamps.
Thanks,
Oisin

-- 





Reply via email to