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
4 replies
Subscribers
10 subscribers
Views
1783 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I have a CDT that maps to a table. The CDT and the table has an ID column. Is th
guozhangy
over 10 years ago
I have a CDT that maps to a table. The CDT and the table has an ID column. Is there a way to insert a new row into the table using CDT with the ID value pre-assigned (suppose I want insert a row with ID=100). The Appian document only uses @GeneratedValue for the ID column. Is there any other annotation, such as @assigned...
OriginalPostID-137059
OriginalPostID-137059
Discussion posts and replies are publicly visible
Parents
0
guozhangy
over 10 years ago
Thanks for the reply.
I tried that approach, I set the ID of the CDT to 100 (which doesn't exist in the table). A row was inserted into the table, but with different ID. The assigned value (100) was ignore by Appian.
I also tried not to use @GeneratedValue and Sequence for the ID column in my schema file, but then the schema will not be loaded.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
guozhangy
over 10 years ago
Thanks for the reply.
I tried that approach, I set the ID of the CDT to 100 (which doesn't exist in the table). A row was inserted into the table, but with different ID. The assigned value (100) was ignore by Appian.
I also tried not to use @GeneratedValue and Sequence for the ID column in my schema file, but then the schema will not be loaded.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data