Hi, Anders Hermansen wrote:
> After having some trouble with > the postgresql jdbc driver, I can now manage to run the application > successfully. > 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. Cheers, Chris -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
