Re: Inserting into a uuid column

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Inserting into a uuid column
Дата
Msg-id 49ADB4E3.7010505@opencloud.com
обсуждение исходный текст
Ответ на Re: Inserting into a uuid column  (Oliver Jowett <oliver@opencloud.com>)
Список 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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Inserting into a uuid column
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Inserting into a uuid column