You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/01 14:27:00 UTC

[jira] [Commented] (CAMEL-12334) Salesforce DTO does not use correct datatype for "date" and "time" field

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

ASF GitHub Bot commented on CAMEL-12334:
----------------------------------------

hemangajmera commented on issue #2263: CAMEL-12334: Allow customizations of date/time types in generated DTOs
URL: https://github.com/apache/camel/pull/2263#issuecomment-377790464
 
 
   I just raised a issue which I faced and tried to fix it.
   
   Thanks a ton to you for your efforts in improvising and redoing the entire fix in much better way!
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Salesforce DTO does not use correct datatype for "date" and "time" field
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-12334
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12334
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>    Affects Versions: 2.20.2
>            Reporter: Hemang Ajmera
>            Assignee: Zoran Regvart
>            Priority: Major
>              Labels: maven
>             Fix For: 2.22.0
>
>
> The DTO classes generated by the Maven plugin uses ZonedDateTime for all three
>  * datetime
>  * date
>  * time
> The generation works fine, but is is not able to marshal/unmarshal correctly.
> The DTO should use different kind of field. My suggestion is to use
>  * ZonedDateTime for datetime
>  * LocalDate for date
>  * LocalTime for time
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)