<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>I am trying to configure a CDT to use the JPA ManyToMany Annotation.  I have two</title><link>https://community.appian.com/discussions/f/general/484/i-am-trying-to-configure-a-cdt-to-use-the-jpa-manytomany-annotation-i-have-two</link><description>I am trying to configure a CDT to use the JPA ManyToMany Annotation. I have two objects A &amp;amp; B. Many A&amp;#39;s can have many B&amp;#39;s and many B&amp;#39;s can have many A&amp;#39;s. A has a primary key of id which is AutoGenerated, and a name field. B is setup the same way as A</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: I am trying to configure a CDT to use the JPA ManyToMany Annotation.  I have two</title><link>https://community.appian.com/thread/1458?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2013 00:20:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4b5fbe88-28bf-41e4-854e-f12f28ea666c</guid><dc:creator>bend</dc:creator><description>Good advice Michael, it solved my issue.  I also had to add nullable=true to the @JoinColumns to be able to add A and B records.  Otherwise I received an error when inserting to the DB stating that I was missing the PK of the join table.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to configure a CDT to use the JPA ManyToMany Annotation.  I have two</title><link>https://community.appian.com/thread/1457?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2013 21:21:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:98ff98dc-85dd-49e4-a30c-69415b70c369</guid><dc:creator>Michael Chirlin</dc:creator><description>Have you tried setting the cascade type to refresh?&lt;br /&gt;&lt;br /&gt;@ManyToMany(cascade={CascadeType.REFRESH}) &lt;br /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I am trying to configure a CDT to use the JPA ManyToMany Annotation.  I have two</title><link>https://community.appian.com/thread/1456?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2013 18:54:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8741ddc6-a3b3-43cc-95c3-e6f4f44f05c3</guid><dc:creator>bend</dc:creator><description>...rds?  I have read about using 2 OneToMany&amp;#39;s with a JoinTable but I don&amp;#39;t think this is supported by Appian JPA at this time.  Any examples would be greatly appreciated.  Thanks.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>