Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T41hy-0003FB-CR for pgsql-jdbc@postgresql.org; Wed, 22 Aug 2012 03:34:18 +0000 Received: from mail-pb0-f46.google.com ([209.85.160.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T41hx-00032C-Em for pgsql-jdbc@postgresql.org; Wed, 22 Aug 2012 03:34:17 +0000 Received: by pbbrr13 with SMTP id rr13so846807pbb.19 for ; Tue, 21 Aug 2012 20:34:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=MqoTOdTugwLwFXGAU1TzNzMUKhkUkHBlMOLCJk1JNeo=; b=FJRrs1o19xzka2MuTbMzxn8J5X8cmCfcVgMzfWnrjzv31REG0+7BmwjNPym8t5dmD3 C+iN1Dq/CNEdt3L/pTjyDn8y1cMfICU5LnaGTFdZ663rakx92GdHsLlcAhiB7GMrDaQl B9kyGXI2hy0zC5S9LnGAFzUJmYKxG1E5bMbKrLsWyYdudqrgMVitGIpdNYlcftAFyCPB zC9/3ApSWqBVr2tiDCTJE6JQSv/ZsWmUm/3lj9i9bdfDo0CkdmjVETjCw0CeQ8ijrbzw jJ9WT+Cl8V9/phwvFPj604falR+vP86zi04RFbgM/FmptygYNrZLu2EoOlbl6STOEic/ JuYg== Received: by 10.68.224.73 with SMTP id ra9mr48899232pbc.85.1345606456807; Tue, 21 Aug 2012 20:34:16 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id uu10sm2771777pbc.2.2012.08.21.20.34.14 (version=SSLv3 cipher=OTHER); Tue, 21 Aug 2012 20:34:15 -0700 (PDT) Message-ID: <50345334.5010205@ringerc.id.au> Date: Wed, 22 Aug 2012 11:34:12 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: PostgreSQL JDBC Subject: Re: setObject(...) with native Java arrays like String[] ? References: <50344D58.9010401@ringerc.id.au> In-Reply-To: <50344D58.9010401@ringerc.id.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnfd6l1o09hlTkoIbvEtaUYdq3wYBJHY5i3PiRfHJQKHyTkQQIAW8pPkAorgAITfc68G2lv X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/56 X-Sequence-Number: 23211 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. ---------------------------------------------------------------------------