Re: Further getLastOID() woes

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Further getLastOID() woes
Дата
Msg-id Pine.LNX.4.33.0309010625480.27036-100000@leary.csoft.net
обсуждение исходный текст
Ответ на Further getLastOID() woes  (Zak McGregor <zak@mighty.co.za>)
Ответы Re: Further getLastOID() woes
Список pgsql-jdbc

On Mon, 1 Sep 2003, Zak McGregor wrote:

> Hi all
>
> I am trying to return the oid of the last inserted row, but nonoe of
> my casts are liked by the compiler. I hgave tried all the variations
> found on this list & I keep getting similar messages:
>
> DBase.java:81: cannot resolve symbol
> symbol  : class AbstractJdbc1Statement
> location: class celerity.DBase
>             return ((AbstractJdbc1Statement)(stmt)).getLastOID() ;
>

You must either import org.postgresql.jdbc1 or include the full
package/class name in your cast.

Kris Jurka


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: A JDBC bug or problem relating to string length in Java
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: SQL injection bug for null-terminated strings?