Re: tightening up on use of oid 0

Поиск
Список
Период
Сортировка
Искать
От
Iain
Тема
Re: tightening up on use of oid 0
Дата
Msg-id
001901c4b112$e9c38890$7201a8c0@mst1x5r347kymb
Список
Дерево обсуждения
tightening up on use of oid 0 Oliver Jowett <oliver@opencloud.com>
Re: tightening up on use of oid 0 Oliver Jowett <oliver@opencloud.com>
Re: tightening up on use of oid 0 Kris Jurka <books@ejurka.com>
Re: tightening up on use of oid 0 Oliver Jowett <oliver@opencloud.com>
Re: tightening up on use of oid 0 Kris Jurka <books@ejurka.com>
Re: tightening up on use of oid 0 Oliver Jowett <oliver@opencloud.com>
Re: tightening up on use of oid 0 Oliver Jowett <oliver@opencloud.com>
Re: tightening up on use of oid 0 Tom Lane <tgl@sss.pgh.pa.us>
Re: tightening up on use of oid 0 Kris Jurka <books@ejurka.com>
Re: tightening up on use of oid 0 Oliver Jowett <oliver@opencloud.com>
Re: tightening up on use of oid 0 Kris Jurka <books@ejurka.com>
Re: tightening up on use of oid 0 Oliver Jowett <oliver@opencloud.com>
Re: tightening up on use of oid 0 Kris Jurka <books@ejurka.com>
Hi,

For my part, I've never used any of those calls.

FWIW, I always use reference objects such as "Integer" as opposed to "int" 
so I've never done it that way. All calls to setObject or set 
would always use a variable which is typed (and may be null) my assumption 
is that I avoid all such ambiguities that way.

regards
iain

> Kris Jurka wrote:

> General question for the list: how much code is out there that performs 
> one of these (equivalent) calls?
>
>   PreparedStatement.setObject(i, null);
>   PreparedStatement.setObject(i, null, Types.OTHER);
>   PreparedStatement.setNull(i, Types.OTHER);
>

В списке pgsql-jdbc по дате отправления
От: Oliver Jowett
Дата:
От: Tom Lane
Дата:
FAQ