Skip to Content.
Sympa Menu

freetds - DatabaseMetaData.getColumns does it work?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Reddy R" <rreddy AT home.com>
  • To: freetds
  • Subject: DatabaseMetaData.getColumns does it work?
  • Date: Sat, 5 Feb 2000 15:6:11


When I try to use DatabaseMetaData.getColumns, I get the following
exception

The query is
select distinct * from ##t#1 where (TABLE_CAT like '%' or
TABLE_CAT=?) and TABLE_SCHEM like ? and
TABLE_NAME like ? and COLUMN_NAME like ?
order by TABLE_SCHEM, TABLE_NAME, ORDINAL_POSITION

java.lang.NullPointerException:

at
com.internetcds.jdbc.tds.PreparedStatement_base.setString(PreparedStatement_base.java:700)

at
com.internetcds.jdbc.tds.DatabaseMetaData.getColumns_SQLServer65(DatabaseMetaData.java,

Compiled Code)

at
com.internetcds.jdbc.tds.DatabaseMetaData.getColumns(DatabaseMetaData.java:622)


Thanks
-Reddy R



  • DatabaseMetaData.getColumns does it work?, Reddy R, 01/29/2024

Archive powered by MHonArc 2.6.24.

Top of Page