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!


Reply via email to