Re: getTables() doesn't handle umlauts correctly

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: getTables() doesn't handle umlauts correctly
Date: 2010-11-22 18:59:26
Message-ID: iceeib$7iu$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

dmp wrote on 22.11.2010 19:54:
> I also tried the table creation in the MyJSQLView app. which
> uses the jdbc, this morning and I just don't see it. The correct
> table name is showing up in the public schema and also in the information_schema.tables as shown by the app.
>
> I also tested the code directly and again the correct table
> name is showing up. The only thing different is not on XP, but
> with the same server and jdbc versions.

So this seems indeed to be a Windows issue.

> Now you may wish to try just % or null for the tableNamePattern.
> Perhaps something is going on with parsing of that parameter.
> The API indicates that "a table name pattern; must match the
> table name as it is stored in the database

getTables() does return one table, but the umlaut is garbled.
Sorry for not being clear on this.

Regards
Thomas

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message dmp 2010-11-22 19:56:40 Re: Insert null in int column
Previous Message dmp 2010-11-22 18:54:30 Re: getTables() doesn't handle umlauts correctly