NullPointerExceptions in empty ResultSets

Поиск
Список
Период
Сортировка
От Floyd Shackelford
Тема NullPointerExceptions in empty ResultSets
Дата
Msg-id NDBBKEGJICMIMJHJEBCOCELKFDAA.floyds@4peakstech.com
обсуждение исходный текст
Ответы Re: NullPointerExceptions in empty ResultSets  (Dave Cramer <Dave@micro-automation.net>)
Список pgsql-jdbc
 
i just upgraded to the latest jdbc driver and am now getting errors in empty ResultSets (i.e. the sql select returned 0 rows) where i used to not get an error. here are some examples:
 
java.lang.NullPointerException at org.postgresql.jdbc2.ResultSet.beforeFirst(ResultSet.java:876)
java.lang.NullPointerException at org.postgresql.jdbc2.ResultSet.last(ResultSet.java:1133)
 
please let me know if this is an error and if so:
 
1. how do i work around it for now
2. when can i have a new version of the jdbc jar file?

Regards,

Floyd Shackelford
4 Peaks Technology Group, Inc.
VOICE: 334.735.9428
FAX:   916.404.7125
EMAIL:
FloydS@4PeaksTech.com
ICQ #: 161371538

acta non verba

 

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

Предыдущее
От: Barry Lind
Дата:
Сообщение: Re: Acquiring views
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: NullPointerExceptions in empty ResultSets