<br><br><div class="gmail_quote">On Thu, Feb 25, 2010 at 7:43 AM, Yanni Chiu <span dir="ltr">&lt;<a href="mailto:yanni@rogers.com">yanni@rogers.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I didn&#39;t ever see the sequence select code, when I had run my code with LoggingEnabled. I had wrongly concluded that the feature was not working.<br>
<br>
I have since loaded GlorpDBX via the metacello config, followed by the native postgres driver. BTW, the compiler tweak that allows &#39;_&#39; in method names did not get loaded when using ConfigurationOfGlorpDBX.<br>
<br></blockquote><div><br>Are you sure ? I put a self halt in  ConfigurationOfGlorpDBX &gt;&gt; loadUnderscoreFix<br>and then I evaluated (ConfigurationOfGlorpDBX project version: &#39;1.0&#39;) load<br><br>and the method loadUnderscoreFix is being called....so it works here <br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Two testcases failed - I&#39;ll send a separate email. So things looked okay with the native postgres driver. Then I used GlorpItinerary in a simple test case, which demonstrated that the sequence id&#39;s were working. When I moved this test case back to my original image, I found that the sequence id&#39;s worked there too.<br>

<br></blockquote><div><br>Ok, sent an email. For those Glorp bugs/issues it would be better to post in Glorp miling list (<a href="mailto:glorp-group@googlegroups.com">glorp-group@googlegroups.com</a>) as you will probably receive more help than here. <br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I&#39;ve not fixed the problem yet, but I have found dynamic descriptors is the root of the problem. Somewhere along the way, #tableNamed:ifNone: is called to create a DatabaseTable instance. It is supposed to have a GlorpSerialType instance that holds a PGSequence. This is done in DatabaseField&gt;&gt;postInitialize, but does not happen in my case. An exception gets thrown because no table initializer method is found (which should be the case, since I create the table dynamically). But this exception was being swallowed - don&#39;t know where yet.<br>

<br>
That&#39;s how it&#39;s going - learning more about Glorp than I wanted to know.<br>
<br>
-- <br><font color="#888888">
Yanni</font><div><div></div><div class="h5"><br>
<br>
<br>
John Toohey wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yep, mixed it up with my own logging method. Anyhow, the debug logging<br>
should show you what Glorp is doing when it calls the DB during the<br>
insert.<br>
<br>
On Mon, Feb 22, 2010 at 14:09, Yanni Chiu &lt;<a href="mailto:yanni@rogers.com" target="_blank">yanni@rogers.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
John Toohey wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have this working in Pharo with Glorp. Have you enabled debugging on<br>
your DescriptorSystem implementation? The Transscript should show<br>
exactly what Glorp is doing when you object is registered.<br>
</blockquote>
Okay. It&#39;s good to know that it can work. I am using dynamic Descriptors,<br>
which may be a factor. I&#39;ll try the examples again.<br>
<br>
BTW, do you mean setting the LoggingEnabled class variable of the<br>
DatabaseAccessor, or is there some other debugging on DescriptorSystem that<br>
you mean.<br>
<br>
--<br>
Yanni<br>
<br>
_______________________________________________<br>
SqueakDBX mailing list<br>
<a href="mailto:SqueakDBX@lists.squeakfoundation.org" target="_blank">SqueakDBX@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx</a><br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
_______________________________________________<br>
SqueakDBX mailing list<br>
<a href="mailto:SqueakDBX@lists.squeakfoundation.org" target="_blank">SqueakDBX@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx</a><br>
</div></div></blockquote></div><br>