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
2 replies
Subscribers
9 subscribers
Views
1189 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hello Everyone. I am trying to map a OneToMany object relationship against a pr
Jin Pheh
Certified Associate Developer
over 12 years ago
Hello Everyone. I am trying to map a OneToMany object relationship against a pre-existing schema however Hibernate is complaining that is can't find an *IDX column to sort the objects on the 'many' side of this relationship. I already have a column for exactly this purpose however I can't figure out how to annotate it within the XSD. I've tried using both @ListIndexColumn and @OrderColumn with no success and searching Forum hasn't yielded any meaningful results aside from a Nov 9, 2011 post suggesting to use the same annotations. Can anyone point me in the right direction? ...
OriginalPostID-34821
OriginalPostID-34821
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 12 years ago
You can use @ListIndexColumn(name="my_index_column_name").
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 12 years ago
Here's an example, it's for ManyToMany but still should be useful for your use case:
forum.appian.com/.../50641
The model is called ManyToMany Example under Process Models - Cases. When importing the app you will get an error because my Data Store is named differently from yours just map it to your existing data source, publish it and test the example.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel