Re: rsetMetaData.getColumnCount();

From: Barry Lind <blind(at)xythos(dot)com>
To: sc0698 <sc0698(at)sina(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: rsetMetaData.getColumnCount();
Date: 2003-09-17 00:56:58
Message-ID: 3F67B15A.8020104@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message sc0698 2003-09-17 04:35:49 Re: Stored Procedure returns a ResultSet
Previous Message Barry Lind 2003-09-17 00:55:36 Re: Stored Procedure returns a ResultSet