You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/05/22 12:25:04 UTC
[jira] [Commented] (CAMEL-11310) "code too large" when generating
Salesforce DTOs
[ https://issues.apache.org/jira/browse/CAMEL-11310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019521#comment-16019521 ]
Claus Ibsen commented on CAMEL-11310:
-------------------------------------
That is a lot of fields, is it some common salesforce types, or do you have custom fields added as well? Can you tell more of your use-case.
> "code too large" when generating Salesforce DTOs
> ------------------------------------------------
>
> Key: CAMEL-11310
> URL: https://issues.apache.org/jira/browse/CAMEL-11310
> Project: Camel
> Issue Type: Improvement
> Components: camel-salesforce
> Affects Versions: 2.19.0
> Reporter: Roman Kalashnikov
>
> When generating DTO for a big Salesforce object (186 fields), encountered:
> {noformat}
> COMPILATION ERROR :
> -------------------------------------------------------------
> ... Big__c.java:[2333,39] code too large
> {noformat}
> Generated createSObjectDescription method has more than 8000 lines of code and I guess it hits the 64k bytes method bytecode size limit.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)