[SqueakDBX] auto increment on Squeak/Pharo - Glorp - Postgres

Mariano Martinez Peck marianopeck at gmail.com
Fri Feb 26 09:07:43 UTC 2010


On Fri, Feb 26, 2010 at 7:02 AM, Yanni Chiu <yanni at rogers.com> wrote:

> Yanni Chiu wrote:
>
>> I'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>>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't know where yet.
>>
>
> To wrap this up, Glorp works fine. I wrote my own DescriptorSystem
> subclass, because the DynamicDescriptorSystem that I thought was the right
> thing to use, turned out to be tangled up with the test cases. Or maybe I
> just didn't figure out how to properly use it.
>
>
Thanks Yanni for the report. Me neither, I never used
DynamicDescriptorSystem


> --
> Yanni
> _______________________________________________
> SqueakDBX mailing list
> SqueakDBX at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeakdbx/attachments/20100226/5a11029a/attachment.htm


More information about the SqueakDBX mailing list