Re: PostgreSQL custom data type

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Sep 19 2007 - 05:16:05 EDT

  • Next message: Andrus Adamchik: "Re: Delete Object Issue"

    Hi Chris,

    I couldn't find definitive docs on the nature of uniqueidentifier
    type (Is there any?) From what little I've found, "uniqueidentifier"
    is a binary value. So could you try to map it a Types.VARBINARY on DB
    end and "byte[]" on the Java end?

    Let us know how that worked.

    Andrus

    On Sep 18, 2007, at 8:45 PM, Chris Gamache wrote:

    > I'm having a terrible time getting Cayenne to properly handle columns
    > of type uniqueidentifier. I can select data from columns which are
    > type uniqueidentifier, but I can not insert. I've tried different
    > combinations of Java type String versus Java type UUID and
    > Types.VARCHAR versus Types.OTHER.
    >
    > Please help if you can! Thanks!
    >



    This archive was generated by hypermail 2.0.0 : Wed Sep 19 2007 - 05:16:27 EDT