Troubleshooting
Problem
When Java™ Bean code is generated from a very large schema, IBM® Rational® Application Developer (RAD) shows an error []Too many constants, the constant pool for XXXX would exceed 65536 entries[] in the Problems view.
Symptom
The "Too many constants, the constant pool for XXXX would exceed 65536 entries" error is shown in the Problems view of RAD version 7.0.
Steps to recreate the problem:
- Create a new Dynamic Web Project
- Import an existing large XML schema
- Generate Java Bean code by right clicking on the XML schema, and select Generate -> Java -> SDO Generator
- Select the "Source" directory and click "Finish"
[{"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"XML Development","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21283074