Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
Replies
4 replies
Answers
1 answer
Subscribers
9 subscribers
Views
3610 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Strategy for handling oracle tables with number PK values > 2.2 billion
marky
over 8 years ago
Hello All:
We are using oracle, and struggling to future proof our application to handle a large number of rows and PK values for certain tables/views.
The sequence to insert values apparently only works with number data types, which puts the limit of 2^32-1 for values that Appian can handle.
Casting the PK to VARCHAR and in Appian, Text is causing a failure to insert for the CDT/Data Store.
Is there any strategy we can use to allow PK numbers > 2.2 billion?
OriginalPostID-273724
Discussion posts and replies are publicly visible
Parents
0
Stefan Helzle
A Score Level 3
over 8 years ago
Sure. You download the XSD, modify it and upload it again. Check
docs.appian.com/.../Mapping_CDTs_to_Pre-defined_Database_Tables.html
<xsd:element name="billionId" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">@Id @Column(name="BILLIONID", columnDefinition="NUMBER(38)")</xsd:appinfo>
</xsd:annotation>
</xsd:element>
This will not have any impact on other fields or cause issues when you add any new fields.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Stefan Helzle
A Score Level 3
over 8 years ago
Sure. You download the XSD, modify it and upload it again. Check
docs.appian.com/.../Mapping_CDTs_to_Pre-defined_Database_Tables.html
<xsd:element name="billionId" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">@Id @Column(name="BILLIONID", columnDefinition="NUMBER(38)")</xsd:appinfo>
</xsd:annotation>
</xsd:element>
This will not have any impact on other fields or cause issues when you add any new fields.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data