Re: getNotifications

Поиск
Список
Период
Сортировка
От Maciek Sakrejda
Тема Re: getNotifications
Дата
Msg-id CAOtHd0AhB-DPHLjs4gS5=yocZDHngaYFVmzX7OuVierOU63Keg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: getNotifications  (kfan <kfan.b1@gmail.com>)
Ответы Re: getNotifications
Re: getNotifications
Список pgsql-jdbc
On Fri, Aug 17, 2012 at 9:23 AM, kfan <kfan.b1@gmail.com> wrote:
> It's not an exception, it's a compile error.  I am casting the connection
> object to a PGConnection...interesting to note though that the methods
> available on the PGConnection object only shows the addDatatype method.
>
> the error: the method getNotifications() is undefined for type PGConnection.

That's odd, since getNotifications() was there before addDatatype if
I'm reading the history right.

> What I see now is PGNotification is not available but PGConnection is...not
> sure I saw that earlier.  Where is that class? Thought it was part of the
> same package.

It is. What version of the driver are you using? Also, it would be
useful to see a full (and, ideally, minimal) test case and the exact
compilation errors you're getting.

> The code is something I found online:

Seems reasonable at first glance...


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

Предыдущее
От: kfan
Дата:
Сообщение: Re: getNotifications
Следующее
От: dmp
Дата:
Сообщение: Re: getNotifications