pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: Dave Cramer <pg@fastcrypt.com>
Cc: John Lister <john.lister@kickstone.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: setObject(...) with native Java arrays like String[] ?
Date: Fri, 24 Aug 2012 10:26:49 +0800
Message-ID: <5036E669.5040806@ringerc.id.au> (raw)
In-Reply-To: <CADK3HHKGiC1Oc4vptV07MD=yW4yqyp5odMFZ2ZLsMe2ewZ7ThQ@mail.gmail.com>
References: <50344D58.9010401@ringerc.id.au>
	<50347EBC.2090505@kickstone.com>
	<5034F837.7060103@ttc-cmc.net>
	<5035881A.5030805@ringerc.id.au>
	<5035E003.1040606@kickstone.com>
	<CADK3HHKK-HJzBwd3LoY1__VGoQO+vao=SPWE5QPr=zO42_0Q2A@mail.gmail.com>
	<503671BC.7080204@kickstone.com>
	<CADK3HHKGiC1Oc4vptV07MD=yW4yqyp5odMFZ2ZLsMe2ewZ7ThQ@mail.gmail.com>

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




view thread (14+ messages)

Message-ID: <5036E669.5040806@ringerc.id.au>
Permalink:  ../5036E669.5040806@ringerc.id.au/
Also on:    postgresql.org/message-id/5036E669.5040806@ringerc.id.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: ringerc@ringerc.id.au, pg@fastcrypt.com, john.lister@kickstone.com
  Subject: Re: setObject(...) with native Java arrays like String[] ?
  In-Reply-To: <5036E669.5040806@ringerc.id.au>
  References: <50344D58.9010401@ringerc.id.au> <50347EBC.2090505@kickstone.com> <5034F837.7060103@ttc-cmc.net> <5035881A.5030805@ringerc.id.au> <5035E003.1040606@kickstone.com> <CADK3HHKK-HJzBwd3LoY1__VGoQO+vao=SPWE5QPr=zO42_0Q2A@mail.gmail.com> <503671BC.7080204@kickstone.com> <CADK3HHKGiC1Oc4vptV07MD=yW4yqyp5odMFZ2ZLsMe2ewZ7ThQ@mail.gmail.com> <5036E669.5040806@ringerc.id.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox