Re: Prepared Statement Issues.

Поиск
Список
Период
Сортировка
От Paul Thomas
Тема Re: Prepared Statement Issues.
Дата
Msg-id 20031025005338.C15949@bacon
обсуждение исходный текст
Ответ на Prepared Statement Issues.  (Greg Johnson <gregj@interprose.com>)
Список pgsql-jdbc
On 23/10/2003 16:33 Greg Johnson wrote:
> 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 (?) (?)

Placeholders are for values not names. If it worked in a previous version
of the driver then that sounds like a bug which has been fixed.

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants         |
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+

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

Предыдущее
От: Paul Thomas
Дата:
Сообщение: Re: No suitable driver
Следующее
От: "Jordan S. Jones"
Дата:
Сообщение: Re: Unable to run Applets with appletviewer