Thanks for your answer. 
Because the real problem is a little bit more complicated I will try to create 
a better sample and then maybe come back.

Lothar


> -----Ursprüngliche Nachricht-----
> Von: cayenne-user@incubator.apache.org
> Gesendet: 05.12.06 23:36:17
> An: cayenne-user@incubator.apache.org
> Betreff: Re: how does cayenne handle java.util.date values ?


> Hello.
> 
> I think your code looks okay. Are the actual value stored in the  
> database wrong or perhaps only the bind parameter output?
> 
> The actual timestamp object should be sent to the database. The  
> String that QueryLogger outputs is just "new java.sql.Timestamp 
> (yourDateValue).toString()" that has its own format and may not  
> include timezone information.
> 
>   - Tore.
> 
> On Dec 5, 2006, at 18:19, Lothar Krenzien wrote:
> 
> >             bind: '2006-10-28 15:14:28.0'
> 
> 


______________________________________________________________________________
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!

Reply via email to