PGobject issue - Mailing list pgsql-novice

From chouaffe frannck-edmond
Subject PGobject issue
Date
Msg-id 1314112910.49427.YahooMailRC@web29620.mail.ird.yahoo.com
Whole thread Raw
List pgsql-novice
Hallo guys.

I have the following problem.
I have a java class called PGuuid that I want to use to handle UUID values within my java application.
In the toString() method of the class, I intend to return something else than the real UUID value.
However, this isn't working.
Any I call the addDataTypes method with a real data type such as date or uuid, it doesn't work.
If I on the other hand call it with a custom sql data type such sex, it does work.

I can't figure out how to force java to take my PGuuid class in place of uuid.

Regards.

Edmond

pgsql-novice by date:

Previous
From: "Jean-Yves F. Barbier"
Date:
Subject: Re: Invalid input syntax for integer
Next
From: "Jean-Yves F. Barbier"
Date:
Subject: Re: Invalid input syntax for integer