From: | James Pharaoh <james(at)phsys(dot)co(dot)uk> |
---|---|
To: | Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: JDBC driver is too fussy about Unicode |
Date: | 2011-10-29 05:21:24 |
Message-ID: | CALSKDaSH=pWv_O_hQDArk6N5kcspk+UJGT=6haoNN=RW_c8Z0g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
The test case works for me, and also on the server. A little
investigation shows one big difference, the code I am using is somehow
using a JDBC2 statement class, whereas adding some output to the test
case when it runs successfully shows me using a JDBC4 one.
Furthermore, the app in question has a page where I can enter queries
in groovy. Trying a similar testcase there also works, but I am
getting a JDBC3 statement class.
I have a feeling this might be a big part of the problem but don't
really know enough about what is going on underneath to be sure. I am
using Hibernate 3.3.2 which is a little old.
I wonder if it is somehow managing to force the driver to use JDBC2?
How would you write a testcase to do this?
Does the JDBC driver for PostgreSQL contain compatibility code for
JDBC2 and could it be that there is a bug there?
Of course, I could try and upgrade Hibernate as well. I'll look into
that but the last time I had to do that it didn't work out so well.
Thanks,
James
2011/10/29 Oliver Jowett <oliver(at)opencloud(dot)com>:
> On 29 October 2011 13:17, Oliver Jowett <oliver(at)opencloud(dot)com> wrote:
>
>> Can't reproduce it here; the attached testcase works fine for me
>
> Oops, testcase really attached this time.
>
> Oliver
>
--
James Pharaoh
Pharaoh Systems Limited
http://phsys.co.uk/contact
From | Date | Subject | |
---|---|---|---|
Next Message | dmp | 2011-10-29 06:30:29 | Re: JDBC driver is too fussy about Unicode |
Previous Message | Oliver Jowett | 2011-10-29 00:19:12 | Re: JDBC driver is too fussy about Unicode |