Re: [INTERFACES] Q on JDBC's resultset

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [INTERFACES] Q on JDBC's resultset
Дата
Msg-id 981535688.3a810bc8a36da@webmail.retep.org.uk
обсуждение исходный текст
Ответ на Re: [INTERFACES] Q on JDBC's resultset  (Peter T Mount <peter@retep.org.uk>)
Ответы Re: Re: [INTERFACES] Q on JDBC's resultset  (Dror Matalon <dror@matal.com>)
Список pgsql-jdbc
Quoting Greg Speegle <Greg@10happythings.com>:

>
>
> Peter T Mount wrote:
>
> > 7.1 has the beginings of an UpdateableResultSet. When I can work out
> how to
> > solve a few fundamental problems it shouldn't take long.
> >
> > Here's a few questions for people to see if they can figure it out:
> >
> > * How to detect what table a column belongs so. Required if the query
> was a
> > join of 2 or more tables.
>
> As I understand the JDBC spec, you are not supposed to be able to
> update
> through a ResultSet unless several criteria are met by the query,
> including that the
>
> query is over exactly one table (to avoid problems like these). I don't
> recall if
> the other cases are also prohibited, but that would make the problem
> easier.

Yes it would make it easier. The problem I have is how to detect when it's just
a single table.

Peter

--
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

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

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: Re: [ADMIN]
Следующее
От: Peter T Mount
Дата:
Сообщение: Re: [BUGS] 7.1beta4 jdbc problem on freebsd 4.2 with JSDK 1.1.8.