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
7 replies
Subscribers
4 subscribers
Views
2095 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Is there a good discussion to be found on the details of each JPA annotation tha
Richard
over 8 years ago
Is there a good discussion to be found on the details of each JPA annotation that Appian utilizes. Most of the online ones I've found really only provide examples in Java code, as opposed to text-based description of the values an options.
Mostly I'm looking for ones around JPA table relationships and Cascading values.
OriginalPostID-198763
OriginalPostID-198763
Discussion posts and replies are publicly visible
0
Eliot Gerson
Appian Employee
over 8 years ago
It may help to take a look at
forum.appian.com/.../Custom_Data_Types_from_XSD.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Richard
over 8 years ago
Thanks Eliot, my question was spawned precisely because of that page. If, for example, I search for information on @secondarytable in the reference document, I wind up mired in Java. It would be nice of there was either a more abstract discussion of the uses, or an Appian specific discussion as it relates to CDT's.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tom Ryan
Appian Employee
over 8 years ago
By reference document, do you mean this one?
download.oracle.com/.../ejb-3_0-fr-spec-persistence.pdf
It does include examples of the use of each annotation
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Richard
over 8 years ago
That's the one, Tom. If, for instance, I look up @secondaryTable ( which i think I do understand), it doesn't necessarily explain to me the difference between using that and a standalone @JoinColumn to retrieve data across two tables with a set of related fields. Under which circumstances is one more appropriate than the other?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Richard
over 8 years ago
Also, not all of our modeller's come from a Java Developer background, so many of those examples might as well be written in Sumerian.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tom Ryan
Appian Employee
over 8 years ago
I can certainly appreciate the problem. On the Appian side the previously-linked documentation is the best option.
If you haven't seen it already, there is some good discussion in this wiki:
en.wikibooks.org/.../Java_Persistence
including an example of secondaryTable vs joinColumn (the example shows both together):
en.wikibooks.org/.../Tables
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Richard
over 8 years ago
Thanks Tom! I think this is what I was looking for.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel