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

"code too large" when generating Salesforce DTOs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.19.0
    • Fix Version/s: 2.19.1, 2.20.0
    • Component/s: camel-salesforce
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When generating DTO for a big Salesforce object (186 fields), encountered:

      COMPILATION ERROR : 
      -------------------------------------------------------------
      ... Big__c.java:[2333,39] code too large
      

      Generated createSObjectDescription method has more than 8000 lines of code and I guess it hits the 64k bytes method bytecode size limit.

        Attachments

          Activity

            People

            • Assignee:
              zregvart Zoran Regvart
              Reporter:
              hauler Roman Kalashnikov
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: