Prepared Statement Issues.

Поиск
Список
Период
Сортировка
От Greg Johnson
Тема Prepared Statement Issues.
Дата
Msg-id 1066923229.28266.912.camel@watto.interprose.net
обсуждение исходный текст
Ответы Re: Prepared Statement Issues.  (Paul Thomas <paul@tmsl.demon.co.uk>)
Re: Prepared Statement Issues.  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
I recently have been trying to update to the 113 build of jdbc drivers,
but I am having some problems. I have several prepared statements where
I pass in order by column and the order of the sort.

select id, name, address, state from people order by (?) (?)

However, with the 113 build I cant seem to set the column name to order
by or the sort direction anymore. With the 112 build I just set the SQL
type to INTEGER and it passed through.  I also used the same "hack" to
pass an array of values to IN statements.

select id, name, address, state from people where id in (?);

What java sql type do I need to use for these types of queries?

Thanks For you Help!


________________________________________________________________________
Greg Johnson
The InterProse
Consulting Group, Inc.
http://www.interprose.com
t (360) 604-3531 x225
f (360) 604-3579






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

Предыдущее
От: "Mike Kenny - CPX Mngd Services"
Дата:
Сообщение: No suitable driver
Следующее
От: Francisco Villavicencio
Дата:
Сообщение: Unable to run Applets with appletviewer