Re: Problem with java.sql.DatabaseMetaData

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: "Mitterwald, Holger" <holger(dot)mitterwald(at)coi(dot)de>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Problem with java.sql.DatabaseMetaData
Date: 2002-06-06 14:12:57
Message-ID: 1023372777.1648.633.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Holger,

This has come up before, and I think the resolution was that you are
right they should be converted to lower case. The challenge comes when
you do create a table with upper case using single quotes, how do you
find it?

Dave

On Thu, 2002-06-06 at 10:10, Mitterwald, Holger wrote:
> Hello, I still have some problems with
> the methods
> getIndexInfo()
> and
> getTables()
>
> In my opinion it shouldn't matter if I define the tablenames
> in lowercase or in mixed/uppercase like in "normal" sql-statements.
> There the both statements are equal:
> select * from customer....
> and
> select * from Customer...
>
> But in the jdbc driver you have to put all the table names in both methods
> as lowercase - otherwise no Tables are found.
>
> So shouldn't the JDBC-driver automatically convert the tablenames to lowercase?????
>
> Best regards,
> Holger
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jon Swinth 2002-06-06 18:48:46 "No Results were returned by the query" exception
Previous Message Dave Cramer 2002-06-06 14:10:53 Re: Java GUI mailing list