[Pljava-dev] Can't have metadat info

Lists: pljava-dev
From: Eric(dot)Boyer at insa-toulouse(dot)fr (Eric BOYER)
To:
Subject: [Pljava-dev] Can't have metadat info
Date: 2005-08-30 14:45:27
Message-ID: 43147107.9010505@insa-toulouse.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Hello,

I would like to know the schema name so my code is :
ResultSet rs=td.getNew();
ResultSetMetaData rsmd=rs.getMetaData();
System.out.println("Schema ="+rsmd.getSchemaName(1));

And the log says :

org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
supported: ResultSet meta data is not yet implemented
at
org.postgresql.pljava.jdbc.ObjectResultSet.getMetaData(ObjectResultSet.java:170)
at
fr.insat.aladin.client.exploitation.ClientExploitationThread.run(ClientExploitationThread.java:48)

And on the web site, i can read :
Metadata support for the JDBC driver. Both DatabaseMetaData and
ResultSetMetaData is included

Can you help me please ?

thanks,
Eric


From: thhal at mailblocks(dot)com (Thomas Hallgren)
To:
Subject: [Pljava-dev] Can't have metadat info
Date: 2005-08-30 16:55:05
Message-ID: thhal-07ifwAwl28LQyubZ/TxxMSKNO64pTu0@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pljava-dev

Hi Eric,
This is a known bug. See
http://gborg.postgresql.org/project/pljava/bugs/bugupdate.php?1404

Regards,
Thomas Hallgren

Eric BOYER wrote:

> Hello,
>
> I would like to know the schema name so my code is :
> ResultSet rs=td.getNew();
> ResultSetMetaData rsmd=rs.getMetaData();
> System.out.println("Schema ="+rsmd.getSchemaName(1));
>
> And the log says :
>
>
>
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: ResultSet meta data is not yet implemented
> at
> org.postgresql.pljava.jdbc.ObjectResultSet.getMetaData(ObjectResultSet.java:170)
>
> at
> fr.insat.aladin.client.exploitation.ClientExploitationThread.run(ClientExploitationThread.java:48)
>
>
>
> And on the web site, i can read :
> Metadata support for the JDBC driver. Both DatabaseMetaData and
> ResultSetMetaData is included
>
> Can you help me please ?
>
> thanks,
> Eric
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev