From: dmp <danap@ttc-cmc.net>
To: Thomas Strunz <beginner_@hotmail.de>
To: PostgreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: metadata.getColumns() using Apache Tomcat / jndi
Date: Fri, 30 Sep 2011 09:56:58 -0600
Message-ID: <4E85E6CA.1080309@ttc-cmc.net> (raw)
In-Reply-To: <4E85DB26.1050802@ttc-cmc.net>
References: <DUB114-W45402DA072DA2469848E6FEEF70@phx.gbl>
<4E85DB26.1050802@ttc-cmc.net>
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: danap@ttc-cmc.net, beginner_@hotmail.de
Subject: Re: metadata.getColumns() using Apache Tomcat / jndi
In-Reply-To: <4E85E6CA.1080309@ttc-cmc.net>
References: <DUB114-W45402DA072DA2469848E6FEEF70@phx.gbl> <4E85DB26.1050802@ttc-cmc.net> <4E85E6CA.1080309@ttc-cmc.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox