Hi Chris,

> Off topic to your question, but interesting to see you had trouble with the
> postgresql driver. I too had problems - specifically getting
> NullPointerExceptions thrown from the driver's size() and getRow() methods
> when trying to query through abstract classes via OJB (0.9.7). It only
> happened when trying to query through abstract classes/interfaces, but in the
> end I tracked the problem to the driver itself. Almost every method in the
> driver makes a reference to an inherited 'rows' variable, which is in fact a
> Vector. Not *one* method checks that 'rows' is actually non-null before
> calling a method on it - hence the NullPointerExceptions! I put the checks in,
> rebuilt the driver and everything worked fine.

Have you tried the 7.3 jdbc driver (it works with postgresql backend
versions other than 7.3 too). I believe it has fixes for a few metadata
problems. Maybe you could try it and post to the postgresql jdbc mailing
list if you still have troubles?


Anders

--
Anders Hermansen
YoYo Mobile as

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to