cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tore Halset <>
Subject Re: how does cayenne handle values ?
Date Tue, 05 Dec 2006 22:36:32 GMT

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'

View raw message