Re: metadata.getColumns() using Apache Tomcat / jndi

From: dmp <danap(at)ttc-cmc(dot)net>
To: Thomas Strunz <beginner_(at)hotmail(dot)de>, PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: metadata.getColumns() using Apache Tomcat / jndi
Date: 2011-09-30 15:56:58
Message-ID: 4E85E6CA.1080309@ttc-cmc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kjetil 2011-10-02 11:56:54 Moving to git
Previous Message dmp 2011-09-30 15:07:18 Re: metadata.getColumns() using Apache Tomcat / jndi