[ 
https://issues.apache.org/jira/browse/CAY-1626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13133140#comment-13133140
 ] 

John Huss commented on CAY-1626:
--------------------------------

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

        

Reply via email to