Re: how does cayenne handle java.util.date values ?

From: Tore Halset (halse..vv.ntnu.no)
Date: Tue Dec 05 2006 - 17:36:32 EST

  • Next message: Marcin Skladaniec: "creating long expressions"

    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'



    This archive was generated by hypermail 2.0.0 : Tue Dec 05 2006 - 17:36:47 EST