Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
7 subscribers
Views
3130 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Editable Grid
pavanik
Certified Associate Developer
over 7 years ago
Hi...
I have created editable grid...with add , update and delete functionality...
I used a!writeToDataStoreEntity() to save the updated details in to DB..
Whenever i performed any of these(add,delete,update) operations... some times I am facing following issue...some times its working fine...
any suggestion on this.
Thanks in advance
OriginalPostID-262904
Discussion posts and replies are publicly visible
Parents
0
aloks0189
Certified Lead Developer
over 7 years ago
@Pavani can you check whether the XSD of this CDT (KP_IAL_Employee) contains @Version annotation. if so that means, You have optimistic locking configured on your entity, using an @Version annotated field.
The principle of optimistic locking is to only allow an update of a row if the version stored in the row has the same value as the one stored in the entity being merged. Otherwise, the exception will be thrown
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
aloks0189
Certified Lead Developer
over 7 years ago
@Pavani can you check whether the XSD of this CDT (KP_IAL_Employee) contains @Version annotation. if so that means, You have optimistic locking configured on your entity, using an @Version annotated field.
The principle of optimistic locking is to only allow an update of a row if the version stored in the row has the same value as the one stored in the entity being merged. Otherwise, the exception will be thrown
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data