For some reason I'm having difficulty annotating a child CDT (one-to-many) s

For some reason I'm having difficulty annotating a child CDT (one-to-many) so that I can override the foreign key column while allowing Appian to automatically populate this field I define with the parent primary key. With the code below, Appian will create the column/name and automatically populate the key once a row is written - however I typically create tables manually and would like to have the SQL structure in place before moving applications across servers. If we use, say, @JoinColumn(name="pId") in the annotation below, the foreign key is preserved but Appian will not automatically populate this field as the row is written to the DB. What am I missing here?

<xsd:element maxOccurs="unbounded" minOccurs="0" name="childCDT" type="tns:childCDT">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">@OneToMany(indexed=false)</xsd:appinfo>
</xsd:annotation>
</xsd:element>

OriginalPostID-210220

OriginalPostID-210220

  Discussion posts and replies are publicly visible