Re: getNotifications

Поиск
Список
Период
Сортировка
От Maciek Sakrejda
Тема Re: getNotifications
Дата
Msg-id CAOtHd0Dj27PtrO3BMFQdo-P9NDURG2ypuxG0ZhvVDC_DBvuGNA@mail.gmail.com
обсуждение исходный текст
Ответ на getNotifications  (kfan <kfan.b1@gmail.com>)
Ответы Re: getNotifications
Список pgsql-jdbc
Please keep the list copied: if I stop feeling helpful, maybe someone
else can pick it up ;)

Your code is correct:

maciek@gamera:~/Downloads$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (6b24-1.11.3-1ubuntu0.12.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
# the above means we'll build a jdbc4 jar
maciek@gamera:~/code/aux/pgjdbc$ git checkout REL9_0_801
...
maciek@gamera:~/code/aux/pgjdbc$ ant clean jar
...
maciek@gamera:~/Downloads$ javac -cp
/home/maciek/code/aux/pgjdbc/jars/postgresql.jar NotificationTest.java
maciek@gamera:~/Downloads$ java -cp
/home/maciek/code/aux/pgjdbc/jars/postgresql.jar:. NotificationTest
testing...
Got notification: mymessage
testing...
testing...
Got notification: mymessage

I think it's maybe a classpath issue? How is your environment set up /
how are you referencing the postgresql.jar (yes, that's the driver)?


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

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