You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Roman Kalashnikov (JIRA)" <ji...@apache.org> on 2017/05/22 12:48:04 UTC

[jira] [Comment Edited] (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=16019528#comment-16019528 ] 

Roman Kalashnikov edited comment on CAMEL-11310 at 5/22/17 12:47 PM:
---------------------------------------------------------------------

There's a lot of custom fields added. Salesforce is okay with this object.
I'm not owning the Salesforce side, I just have to deal with this.


was (Author: hauler):
There's a lot of custom fields added.

> "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)