Re: Java String saving as unicode in database

From: dmp <danap(at)ttc-cmc(dot)net>
To: PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Java String saving as unicode in database
Date: 2013-10-13 20:06:22
Message-ID: 525AFD3E.2030506@ttc-cmc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I have cleaned up the Test_UTC.java class and renamed it to
PostgreSQL_JDBC_Test. Corrected some stuff. This class can
be used as a generic test bed for PostgreSQL JDBC connections.

Just add a new method for your test case. I will leave this
one in this location and update if needed.

**REPLACED -->> Test_UTC.java WITH PostgreSQL_JDBC_Test.java

http://dandymadeproductions.com/temp/PostgreSQL_JDBC_Test.java

danap.

dmp wrote:
> As John said. Download and use the complete code from the
> example given before. Fill in in main() database, username, &
> password.
>
> Compile:
> javac Test_UTC.java
>
> Run:
> java Test_UTC
>
> Look at the cmd line output text and the JPanel text. This will
> tell the story.
>
> Test_UTC code.
> http://dandymadeproductions.com/temp/Test_UTC.java
>
> danap.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Marc Cousin 2013-10-14 14:38:42 Re: problem with LargeObject and commit
Previous Message dmp 2013-10-13 16:46:16 Re: Java String saving as unicode in database