Re: rsetMetaData.getColumnCount(); - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: rsetMetaData.getColumnCount();
Date
Msg-id 3F67B15A.8020104@xythos.com
Whole thread Raw
In response to rsetMetaData.getColumnCount();  ("sc0698" <sc0698@sina.com>)
List pgsql-jdbc
Can you provide a test case that demonstrates the problem?  Also, have
you tried the latest driver to see if this is already fixed?

thanks,
--Barry

sc0698 wrote:
>        rsetMetaData = rset.getMetaData();
>        numCols = rsetMetaData.getColumnCount();
>
> getColumnCount() error:
>
> java.lang.NullPointerException
>
>  at
> org.postgresql.jdbc2.AbstractJdbc2ResultSetMetaData.getColumnCount(AbstractJ
> dbc2ResultSetMetaData.java:34)
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
>




pgsql-jdbc by date:

Previous
From: Barry Lind
Date:
Subject: Re: Stored Procedure returns a ResultSet
Next
From: Barry Lind
Date:
Subject: Re: ToBoolean method return correct Boolean values as per