Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12334

Salesforce DTO does not use correct datatype for "date" and "time" field

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.20.2
    • Fix Version/s: 2.22.0
    • Component/s: camel-salesforce
    • Labels:
    • Estimated Complexity:
      Moderate

      Description

      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

       

        Attachments

          Activity

            People

            • Assignee:
              zregvart Zoran Regvart
              Reporter:
              hemangajmera Hemang Ajmera
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: