Dear All,<div><br></div><div> I&#39;m using Oracle 8i as a back-end database server for my Catalyst application. When I try to use join parameter using DBIx::Class model, it gives me syntax error.</div><div>It doesn&#39;t understand &#39;JOIN&#39; keyword in the SQL generated by DBIx::Class.</div>
<div><br></div><div>for example - &gt;</div><div><br></div><div><div>my $Info = $c-&gt;model(&#39;App::Log&#39;)-&gt;search({</div><div><span class="Apple-tab-span" style="white-space: pre; ">                                        </span>id =&gt; $someid,</div>
<div><span class="Apple-tab-span" style="white-space: pre; ">                                </span>},{</div><div><span class="Apple-tab-span" style="white-space: pre; ">                                        </span>join =&gt; &#39;foreignkey_id&#39;,</div><div><span class="Apple-tab-span" style="white-space: pre; ">                </span>});</div>
</div><div><br></div><div>I did checked &quot;<a href="http://search.cpan.org/~frew/DBIx-Class-0.08115/lib/DBIx/Class/Storage/DBI/Oracle/WhereJoins.pm">http://search.cpan.org/~frew/DBIx-Class-0.08115/lib/DBIx/Class/Storage/DBI/Oracle/WhereJoins.pm</a>&quot;  where it is mentioned that DBIx::Class automatically detects the version and calls the above class to generate the JOIN in oracle 8i fashion but somehow its not working.</div>
<div><br></div><div>Also I checked for join_type parameter which allows you to go for &#39;outer&#39; or &#39;inner&#39; join but it didn&#39;t work.</div><div><br></div><div>Could some body tell me how can I use join for oracle 8i using DBIx::Class model in the Catalyst application?</div>
<div><br></div><div><br></div><div>Thanks and regards,</div><div>Rohan</div><div><br></div><div><br></div><div><br></div><div><div><br></div></div><meta http-equiv="content-type" content="text/html; charset=utf-8">