If you have a composite key in a specific table and if you are trying to insert data into that table using table references, you may get an error
null ID Generated
To avoid this, we have to use the ID class generated for that table like this.
IDClass idClassObj = new IDClass([Arguments list]);
tableClassObj.setId(idClassObj);
That is all.
Hope this helps you.
Thank you for this SOF answer
null ID Generated
To avoid this, we have to use the ID class generated for that table like this.
IDClass idClassObj = new IDClass([Arguments list]);
tableClassObj.setId(idClassObj);
That is all.
Hope this helps you.
Thank you for this SOF answer
No comments:
Post a Comment