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
7 subscribers
Views
1994 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
How can you map two different CDTs (a basic one and another with all the columns
JEAN PIERRE
over 11 years ago
How can you map two different CDTs (a basic one and another with all the columns) to the same database table?...
OriginalPostID-100566
OriginalPostID-100566
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 11 years ago
You don't need anything special as long as they have different names and they both use the @Table(name="") annotation to make it point to the same table.
Let's say that CDT A has two fields while CDT B has the 4 fields/columns the table has, for Appian this is transparent if the @Table annotation is telling it to point to this table since CDT A matches the table (because the table contains the two columns mapped to the CDT fields)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 11 years ago
I omitted the @Table annotations.
Thank you Eduardo.
By the way...your name sounds very spanish. Where do you come from?
My name sounds French, but my mother languages are spanish and german.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
You almost got it right, I am from Mexico. It's good to see we have Spanish speaking people as part of the Appian Forum Community. Bienvenido!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 11 years ago
Aprovecho la oportunidad para aplaudir el excelente soporte que das en este foro.
Saludos!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel