I want to deploy a bdm with 350 attributes but it is allowing only 255 .

1
0
-1

getting error like Too many parameters, parameter is exceeding the limit of 255 words eligible for method parameters .please help me out.

1 answer

1
+1
-1
This one is the BEST answer!

Hi,

I managed to generate a bdm with an object with 350 attributes. The error you get is caused by a request having more than 255 parameters. It is not supported to have more than 255 parameters for a method in java.

I suggest updating your data model and split this big object into several objects and use aggregation or composition relation or remove the unique constraints on each attribute of your object if it is the case.

HTH

Romain

Comments

Submitted by emmanuel.duchas... on Mon, 06/08/2020 - 17:47

Indeed, this is not a good practice to have so many attributes in the same object.

Functionally, you can probably cut your business object into several objects with real business meaning. It will ease the understanding and the use of your business design.

HTH

Submitted by n.srilatha19_1384656 on Tue, 06/09/2020 - 08:05

thank you romain.bioteau

after creating how can i retrive that entire data to custom ui page.

thanks in advance.

Submitted by romain.bioteau on Tue, 06/09/2020 - 10:30

You can use the bdm API

Notifications