cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Huss (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1626) Add JodaTime DateTime support
Date Fri, 21 Oct 2011 22:30:32 GMT

     [ https://issues.apache.org/jira/browse/CAY-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

John Huss updated CAY-1626:
---------------------------

    Comment: was deleted

(was: I'm trying to use this with Postgresql and it's not working.  Are you defining the column
as a varchar or as a timestamp?  With postgres it doesn't like you using statement.setString
to set a timestamp field.  And for reading the value, it doesn't parse because the timezone
offset is appended to the string returned by rs.getString; and even without that, that string
only contains the value down to the second, omitting the milliseconds.)
    
> Add JodaTime DateTime support
> -----------------------------
>
>                 Key: CAY-1626
>                 URL: https://issues.apache.org/jira/browse/CAY-1626
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Database integration
>    Affects Versions: 3.1M2
>            Reporter: Marc O'Morain
>         Attachments: DateTimeType.java
>
>
> Here is some code that we wrote at Swrve to load/save jodatime DateTime objects with
Cayenne

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message