Discussion

How to set value of Auto Generated Primary key when using Object-Save method?

I am trying to save an object which is mapped to my external table. This table is having an auto generated primary key. I am not setting any value in my activity.

However it is giving me constraint violation exception when i try to run the activity. I traced it and found the query that PRPC is trying to execute; PRPC is trying to insert null in Primary Key column.

Is there a way in PRPC 7.1 to avoid this exception?

Thanks in advance for your help!

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments