From: | Oliver Jowett <oliver(at)opencloud(dot)com> |
---|---|
To: | Thomas Kellerer <spam_eater(at)gmx(dot)net> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Inserting into a uuid column |
Date: | 2009-03-03 22:53:23 |
Message-ID: | 49ADB4E3.7010505@opencloud.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Oliver Jowett wrote:
> Thomas Kellerer wrote:
>
>> No I'm not using setString() in that example. The Java code would be:
>>
>> Statement stmt = connection.createStatement();
>> stmt.executeUpdate("INSERT INTO my_table (guid_column) " +
>> " VALUES ('a0eebc999c0b4ef8bb6d6bb9bd380a11')");
>>
>> So it's passing a literal and is not using a PreparedStatement
>
> That should work identically to what you're doing via psql then, so
> something strange is going on. Can you put together a testcase showing
> the problem?
Oh, sorry, I misread your email - this one works, so it's behaving as
expected :)
-O
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Kellerer | 2009-03-04 07:46:40 | Re: Inserting into a uuid column |
Previous Message | Kris Jurka | 2009-03-03 22:29:05 | Re: Inserting into a uuid column |