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

From: Thomas Strunz <beginner_(at)hotmail(dot)de>
To: <oliver(at)opencloud(dot)com>
Cc: <danap(at)ttc-cmc(dot)net>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: metadata.getColumns() using Apache Tomcat / jndi
Date: 2011-10-03 06:04:35
Message-ID: DUB114-W69F85E04C91EE74161B208EEFA0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


Hi Oliver,

oh my god you are right. postgresql is the only one of these RDBMS that is case-sensitive.
configuration files are different for the 2 cases eg. tableName vs. tablename.

I ran into "issues" with this before and actually made myself a note "PostgreSQL is case-sensitive" and now I still forgot about that...

thanks for your help.

> Date: Mon, 3 Oct 2011 18:39:39 +1300
> Subject: Re: [JDBC] metadata.getColumns() using Apache Tomcat / jndi
> From: oliver(at)opencloud(dot)com
> To: beginner_(at)hotmail(dot)de
> CC: danap(at)ttc-cmc(dot)net; pgsql-jdbc(at)postgresql(dot)org
>
> On 3 October 2011 18:00, Thomas Strunz <beginner_(at)hotmail(dot)de> wrote:
>
> > Anway I changed the command to "metaData.getColumns(null, null,
> > molTableName, "%");". Behaviour remains exactly the same. this works for MS
> > SQL, MySQL and HSQLDB but not for postgresql. Meaning there must be a bug
> > somewhere.
>
> Have you confirmed that the table name you are passing really is the
> same in both cases?
>
> Failing that, I suggest you log the query on the server side and see
> what's happening differently.
>
> Oliver

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Guillaume Cottenceau 2011-10-03 08:22:13 Re: Moving to git
Previous Message Oliver Jowett 2011-10-03 05:39:39 Re: metadata.getColumns() using Apache Tomcat / jndi