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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.20.2
    • 2.22.0
    • camel-salesforce
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: