<div dir="ltr">OK, that must have gone right over my head, &#39;cause I did read it, but I don&#39;t see why that means I should expect there to be no trace output.<div><br></div><div>How do you trace the SQL that is generated when the create() method is called then?  Obviously, I&#39;m just turning on tracing on the connection associated with my $dbh, but if that secondary connection isn&#39;t exposed to me somehow, are you saying my only recourse is to trace the ENTIRE application execution, and then wade through the mountain of data?</div>
<div><br></div><div>I&#39;ll give that a try...   Finding the SQL of interest will be a little tedious, though, but hey, I&#39;ve got all day....</div><div><br></div><div>Oh, BTW, I tried switching to using NoBindVars, and was immediately reminded of why that failed for me last year:</div>
<div><br></div><div><div>DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Sybase::st execute failed: Server message number=257 severity=16 state=1 line=1 \</div><div>server=NYTIBV6T228 text=Implicit conversion from datatype &#39;VARCHAR&#39; to &#39;NUMERIC&#39; is not allowed.  Use the CONVERT function to run this query.</div>
<div> Server message number=257 severity=16 state=1 line=1 server=NYTIBV6T228 text=Implicit conversion from datatype &#39;VARCHAR&#39; to &#39;NUMERIC&#39; is not a\</div><div>llowed.  Use the CONVERT function to run this query.</div>
<div>  [for Statement &quot;INSERT INTO [ENGN_afsvolume] ( [name], [target], [toplevel], [type]) VALUES ( &#39;canon.root&#39;, &#39;9&#39;, &#39;1&#39;, &#39;cn&#39; )</div><div>SELECT @@IDENTITY&quot;] at ./util/vms_bootstrap_database line 253</div>
</div><div><br></div><div>That &#39;9&#39;, and &#39;1&#39; are both foreign keys which are numerics, and the dataserver doesn&#39;t like them to be quoted.   </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Tue, Feb 4, 2014 at 12:09 PM, Peter Rabbitson <span dir="ltr">&lt;<a href="mailto:rabbit+dbic@rabbit.us" target="_blank">rabbit+dbic@rabbit.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Feb 04, 2014 at 11:28:46AM -0500, Phillip Moore wrote:<br>
&gt;<br>
&gt; What am I doing wrong here?   Clearly, tracing is being turned on, but then<br>
&gt; total radio silence from the create method.<br>
<br>
</div>You didn&#39;t read the linked paragraph carefully. Linking you to the<br>
source so that the highlight is apparent:<br>
<a href="https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.08270/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm#L1017" target="_blank">https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.08270/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm#L1017</a><br>

<br>
This codepath is not employed if you are already in a transaction:<br>
<a href="https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.08270/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm#L405" target="_blank">https://metacpan.org/source/RIBASUSHI/DBIx-Class-0.08270/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm#L405</a><br>

<br>
Hope this helps<br>
Cheers<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
List: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class</a><br>
IRC: <a href="http://irc.perl.org#dbix-class" target="_blank">irc.perl.org#dbix-class</a><br>
SVN: <a href="http://dev.catalyst.perl.org/repos/bast/DBIx-Class/" target="_blank">http://dev.catalyst.perl.org/repos/bast/DBIx-Class/</a><br>
Searchable Archive: <a href="http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk" target="_blank">http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk</a><br>
</div></div></blockquote></div><br></div>