| From: | dmp <danap(at)ttc-cmc(dot)net> |
|---|---|
| To: | "BCH)姜亦敏" <jiangyimin(at)basechina(dot)net>, pgsql-jdbc(at)postgresql(dot)org |
| Subject: | Re: JDBC DatabaseMetaData problem |
| Date: | 2012-04-06 21:05:35 |
| Message-ID: | 4F7F5A9F.1020002@ttc-cmc.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
BCH)姜亦敏 wrote:
> Hello,
> I have the following problem working with DatabaseMetaData. There is a
> database with table and the attribute of 'cont' is character. Database
> cluster was
> initialized with appropriate ru_RU.KOI8-R locale. All the databases were
> created with utf-8 encoding.
> I use PostgreSQL-8.2compiled from source, JDBC driver from
> on Linux, J2SDK 1.4.2_12.
> update scheduleconttbl set cont ='\xf0\x9f\x99\x8f'
> where logindaytime = '20120406142138813';
> ~
> ~
> ~
> I will appreciate any help with this.
>
> Thank you.
>
>
> Sincerely yours,
> Jiang
Hello,
I just tried this same update on a table with char type with the input
indicated and it works fine on PostgreSQL 9.0.1 with jdbc-9.0-901.jdbc3.
Perhaps you need to update to a newer version of the database if you are
used the recommended supported version and correlated jdbc has indicated
at http://jdbc.postgresql.org/download.html
Version 8.2 Build 512 and JDBC2 8.2-512 JDBC2 which I think supports
JRE 1.4.
danap.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Cramer | 2012-04-07 10:27:20 | Re: JDBC DatabaseMetaData problem |
| Previous Message | Sez Sez | 2012-04-06 16:17:38 |