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
1048 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I'm running into an issue when using JPA annotation on an XSD. We have two t
nickh647
over 8 years ago
I'm running into an issue when using JPA annotation on an XSD. We have two tables with a ManyToMany relationship, and an existing join table we need to map to.
Whenever I add the @JoinTable() annotation I am unable to view the DataType (click the datatype link in the "designer" view, the page says 'Working' and then just displays a blank page)
Here the snippet of what I have for the annotation:
<xsd:element minOccurs="0" maxOccurs="unbounded" name="employers" type="tns:EMPLOYER">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">
@JoinTable(
name="SPON_EMPLOYER",
joinColumns={@JoinColumn(name="ProgSponNo", referencedColumnName="ProgSponNo")},
inverseJoinColumns={@JoinColumn(name="EmployerID", referencedColumnName="EmployerID")})
@ManyToMany(indexed=false)
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
OriginalPostID-171437
OriginalPostID-171437
Discussion posts and replies are publicly visible
0
nickh647
over 8 years ago
Nevermind, the issue was with the curly brackets { }
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel