Skip site navigation (1) Skip section navigation (2)

Re: setObject(...) with native Java arrays like String[] ?

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: PostgreSQL JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: setObject(...) with native Java arrays like String[] ?
Date: 2012-08-22 03:34:12
Message-ID: 50345334.5010205@ringerc.id.au (view raw or flat)
Thread:
Lists: pgsql-jdbc
Also, maybe something this should go in the README?



---------------------------------------------------------------------------

TESTING

If you want to run the unit tests, create a user with username "test"
and password "password" in a Pg instance that listens on 127.0.0.1:5432 
(the default). Create a database "test" owned by user "test".

     psql -U postgres
     postgres=# CREATE USER test WITH PASSWORD 'test';
     postgres=# CREATE DATABASE test OWNER test;

Now run "ant test" to execute the tests against your new DB. You should 
drop the test user and DB after testing as the well-known password could 
lead to a security issue.

---------------------------------------------------------------------------




In response to

Responses

pgsql-jdbc by date

Next:From: Maciek SakrejdaDate: 2012-08-22 04:52:06
Subject: Re: setObject(...) with native Java arrays like String[] ?
Previous:From: Craig RingerDate: 2012-08-22 03:32:50
Subject: Re: setObject(...) with native Java arrays like String[] ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group