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
9 subscribers
Views
1746 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
When publishing into DB I want to get specified Table names I pass through the x
vamshikrishnab
over 10 years ago
When publishing into DB I want to get specified Table names I pass through the xsd. I created a sample xsd attached, but when I am trying to Import the xsd I am getting error
A type mapping annotation is invalid: The eclass: HbAnnotatedEAttribute does not have an efeature for Table (APNX-2-4055-000).
How can I achieve it, any Suggestions.
...
test.xsd
OriginalPostID-123527
OriginalPostID-123527
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
You can only have one @Table once. One table per XSD.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Or one per xsd:complexType
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
I think you meant to use @Column
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
vamshikrishnab
over 10 years ago
Thank you Eduardo, I am trying to do this.
In the attached xsd testNumber1 is multiple, when it is published appian creates its own table with some default name. Is there a way I can give a name (as per project standards) instead of default name
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sagarl511
A Score Level 2
over 10 years ago
As per my understanding it can be achieved by creating separate child cdts which will have table configuration associated in xsd. Then use this cdts in parent cdt with One to many annotation or max min occurences. For e.g create a cdt TestNumber1 and associate it with standard table name. In parent cdt add a element of type TestNumber1 with multiple occurences.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel