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

"code too large" when generating Salesforce DTOs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.19.0
    • 2.19.1, 2.20.0
    • camel-salesforce
    • None
    • 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

            zregvart Zoran Regvart
            hauler Roman Kalashnikov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: