Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4jbs-00035Z-Io for pgsql-jdbc@postgresql.org; Fri, 24 Aug 2012 02:26:56 +0000 Received: from mail-iy0-f174.google.com ([209.85.210.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T4jbr-0000pG-Ke for pgsql-jdbc@postgresql.org; Fri, 24 Aug 2012 02:26:56 +0000 Received: by ialo24 with SMTP id o24so2493200ial.19 for ; Thu, 23 Aug 2012 19:26:55 -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:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=gke1Z9c9fw7zbAM8WINMf1hax95opUlgAJ4FWEAPMPo=; b=U7eSYlgqn2raj3kB5iCLGxh0W8o9xORdnUMr9lDyVakTEPBNx9PsG6mbG9e7KkZqzc AE12YruPs5PPv/W9KFNr34xlyS2ZYL3/q0fJ4c8gn5SwKZXjmnFi8oSQjD39dj2R/LOU PSqSc6xLA3BUgut4g+QfMHyrWKgd3H8OeNAt+8jCfXE9C+v7anwwaKTvpkjkkPLDxtiO ZrgCFrmLnoWQ3OMniduJWQaHMkEGX+Tt7lcg3yJAATjhlABaSrb0U1PZ3xsHLPmxU+2D KZz6LBgKSc0rjlXAlzvKpYVO9vdLtY0AKDhVxFWd6P0xj/WWOJxvIJqcv+tTyJswzDpd Epkg== Received: by 10.50.41.234 with SMTP id i10mr528249igl.8.1345775214887; Thu, 23 Aug 2012 19:26:54 -0700 (PDT) Received: from ayaki.localdomain (124-169-188-211.dyn.iinet.net.au. [124.169.188.211]) by mx.google.com with ESMTPS id d4sm2797125iga.14.2012.08.23.19.26.52 (version=SSLv3 cipher=OTHER); Thu, 23 Aug 2012 19:26:54 -0700 (PDT) Message-ID: <5036E669.5040806@ringerc.id.au> Date: Fri, 24 Aug 2012 10:26:49 +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: Dave Cramer CC: John Lister , pgsql-jdbc@postgresql.org Subject: Re: setObject(...) with native Java arrays like String[] ? References: <50344D58.9010401@ringerc.id.au> <50347EBC.2090505@kickstone.com> <5034F837.7060103@ttc-cmc.net> <5035881A.5030805@ringerc.id.au> <5035E003.1040606@kickstone.com> <503671BC.7080204@kickstone.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkFkfP1w/aju9bCQugKXi5F4p51m6oPdod5uGGWSy0A0t8UfEWsrJkOyivgHJzMTGHga1jO X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/67 X-Sequence-Number: 23222 On 08/24/2012 02:16 AM, Dave Cramer wrote: > Well my personal guidelines would be as follows > > 1) Has to come with a test case > 2) If it requires docs it needs those as well > 3) Don't change the format of the code > 4) Performance is important ( not sure exactly what that means ) > > Lastly how to determine if it is a good idea to accept it? I'd like to > see more discussion from the group, voting would be one way. > However as I said some very large companies use this as I said. Just > because it satisfies your itch doesn't make it a good idea for > everyone else. I'd want to add: - Doesn't break major existing users. A test suite that uses JPA and Hibernate and/or EclipseLink would make sense, and if I'm lucky I'll have time to work on that sometime in the next 100 years or so... - Improves or preserves the existing level of JDBC compliance. If it's nice but non-compliant, it IMO isn't acceptable. Same policy as the main server re SQL standards, really. - Fits within the existing JDBC interfaces and specs where possible; extensions should have to jump a higher bar. If it is an extension, it should mirror extensions from other drivers/vendors if possible. - Builds with Java 1.5 (ugh, but it'll be time for 1.6 soon). -- Craig Ringer