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
1 reply
Subscribers
7 subscribers
Views
1566 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
HI All, I need to implement one to many relationship using @secondary
sunnya527
A Score Level 2
over 10 years ago
HI All,
I need to implement one to many relationship using @secondarytable annotaion. How can I achieve this?
When I give @onetoMany annotation in column definition.
it throws me an error as mapping exception while mapping to data store
Below is the notation I am using
<xsd:complexType name="test">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">
@Table(name="test")
@SecondaryTable(name="test1")
</xsd:appinfo>
</xsd:annotation>
.......
.......
<xsd:element name="id" type="xsd:int" nillable="true">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">
@OneToMany(indexed=false)
@Column(name="ID",nullable="false",insertable="false", updatable="false")
</xsd:appinfo>
</xsd:annotation>
</xsd:element>...
OriginalPostID-119521
OriginalPostID-119521
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Maybe this can help
forum.appian.com/.../e-81009
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Maybe this can help
forum.appian.com/.../e-81009
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data