Re: metadata.getColumns() using Apache Tomcat / jndi - Mailing list pgsql-jdbc

From dmp
Subject Re: metadata.getColumns() using Apache Tomcat / jndi
Date
Msg-id 4E85E6CA.1080309@ttc-cmc.net
Whole thread Raw
In response to Re: metadata.getColumns() using Apache Tomcat / jndi  (dmp <danap@ttc-cmc.net>)
List pgsql-jdbc
dmp wrote:

> if (columnNamePattern != null && !"".equals(columnNamePattern))
> {
> sql += " AND attname LIKE " + escapeQuotes(columnNamePattern);
> }
>
> This is the only place that the columnNamePattern name is specified. I have
> not checked beyound this, but the general sql query is not then picking up
> all the column names as you might expect to be returned.
>
> danap
>
try:

getColumNames(null, null, tableName, %)

danap.


pgsql-jdbc by date:

Previous
From: dmp
Date:
Subject: Re: metadata.getColumns() using Apache Tomcat / jndi
Next
From: Kjetil
Date:
Subject: Moving to git